Part Number Hot Search : 
8051F920 LG214L 120A0 110IRZ TOCP200Q TRC1A22 A3188LUA MAX903
Product Description
Full Text Search
 

To Download GS4911B Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK
GS4911B/GS4910B Data Sheet Key Features Video Clock Synthesis
* * * * * * Generates any video or graphics clock up to 165MHz Pre-programmed for 8 video and 13 graphics clocks Accuracy of free-running clock frequency limited only by crystal reference One differential and two single-ended video/graphics clock outputs Each clock may be individually delayed for skew control Video output clock may be directly connected to Gennum's serializers for a SMPTE-compliant HD-SDI output
Description The GS4911B is a highly flexible, digitally controlled clock synthesis circuit and timing generator with genlock capability. It can be used to generate video and audio clocks and timing signals, and allows multiple devices to be genlocked to an input reference. The GS4910B includes all the features of the GS4911B, but does not offer audio clocks or AFS pulse generation. The GS4911B/GS4910B will recognize input reference signals conforming to 36 different video standards and 16 different graphic formats, and will genlock the output timing information to the incoming reference. The GS4911B/GS4910B supports cross-locking, allowing the output to be genlocked to an incoming reference that is different from the output video standard selected. The user may select to output one of 8 different video sample clock rates or 13 different graphic display clock rates, or may program any clock frequency between 13.5MHz and 165MHz. The chosen clock frequency can be further divided using internal dividers, and is available on two video clock outputs and one LVDS video clock output pair. The video clocks are frequency and phased-locked to the horizontal timing reference, and can be individually delayed with respect to the timing outputs for clock skew control. Eight user-selectable timing outputs are provided that can automatically produce the following timing signals for 35 different video formats and 13 different graphics formats: HSync, Hblanking, VSync, Vblanking, F sync, F digital, AFS (GS4911B only), DE, and 10FID. These timing outputs may be locked to the input reference signal for genlock timing and may be phase adjusted via internal registers. In addition, the GS4911B provides three audio sample clock outputs that can produce audio clocks up to 512fs with fs ranging from 9.7kHz to 96kHz. Audio to video phasing is accomplished by an external 10FID input reference, a 10FID signal specified via internal registers, or a user-programmed audio frame sequence. The GS4911B/GS4910B is Pb-free, and the encapsulation compound does not contain halogenated flame retardant (RoHS Compliant).
36655 - 2 April 2006 1 of 113 www.gennum.com
Audio Clock Synthesis (GS4911B only)
* * * Three audio clock outputs Generates any audio clock up to 512*96kHz Pre-programmed for 7 audio clocks
Timing Generation
* * Generates up to 8 timing signals at a time Choose from 9 pre-programmed timing signals: H and V sync and blanking, F Sync, F Digital, AFS (GS4911B only), Display Enable, 10FID, and up to 4 user-defined timing signals Pre-programmed to generate timing for 35 different video formats and 13 different graphic display formats
*
Genlock Capability
* * * * * * Clocks may be free-running or genlocked to an input reference with a variable offset step size of 100-200ps (depending on exact clock frequency) Variable timing offset step size of 100-200ps up to one frame Output may be cross-locked to a different input reference Freeze operation on loss of reference Optional crash or drift lock on application of reference Automatic input format detection
General Features
* * * * * Reduces design complexity and saves board space 9mm x 9mm package plus crystal reference replaces multiple VCXOs, PLLs and timing generators Pb-free and RoHS Compliant Low power operation typically 300mW 1.8V core and 1.8V or 3.3V I/O power supplies 64-PIN QFN package
Applications
* Video cameras; Digital audio and/or video recording/play back devices; Digital audio and/or video processing devices; Computer/video displays; DVD/MPEG devices; Digital Set top boxes; Video projectors; High definition video systems; Multi-media PC applications
GS4911B/GS4910B Data Sheet
ASR_SEL[2:0]
VID_STD[5:0]
X1 X2
GENLOCK
LOCK_LOST
REF_LOST
27MHz Input Reference Rate Identification and Control ref_rate Flywheel and Video Timing Generator
user[4:1] AFS 10FID DE F digital F sync V blanking V sync H blanking H sync TIMING_OUT_8 TIMING_OUT_7 TIMING_OUT_6 Crosspoint TIMING_OUT_5 TIMING_OUT_4 TIMING_OUT_3 TIMING_OUT_2 TIMING_OUT_1
Clock Synthesis and Control
PCLK1 Clock Phase Adjust pclk Video Clock Divide 3x Video Clock Delay Adjust PCLK2 PCLK3 PCLK3
aclk_512 aclk_384
Audio Clock Divide
ACLK1 ACLK2 ACLK3
HSYNC VSYNC FSYNC 10FID
Application Programming Interace
SDOUT_TDO
SCLK_TCLK
JTAG/HOST
SDIN_TDI
CS_TMS
GS4911B Functional Block Diagram
36655 - 2
April 2006
2 of 113
GS4911B/GS4910B Data Sheet
VID_STD[5:0]
X1 X2
GENLOCK
LOCK_LOST
REF_LOST
27MHz Input Reference Rate Identification and Control ref_rate Flywheel and Video Timing Generator
user[4:1] 10FID DE F digital F sync V blanking V sync H blanking H sync Clock Synthesis and Control
TIMING_OUT_8 TIMING_OUT_7 TIMING_OUT_6 Crosspoint TIMING_OUT_5 TIMING_OUT_4 TIMING_OUT_3 TIMING_OUT_2 TIMING_OUT_1
PCLK1 Clock Phase Adjust pclk Video Clock Divide 3x Video Clock Delay Adjust PCLK2 PCLK3 PCLK3
HSYNC VSYNC FSYNC 10FID
Application Programming Interace
SDOUT_TDO
SCLK_TCLK
JTAG/HOST
SDIN_TDI
CS_TMS
GS4910B Functional Block Diagram
36655 - 2
April 2006
3 of 113
GS4911B/GS4910B Data Sheet
Contents
Key Features .................................................................................................................1 Applications...................................................................................................................1 Description ....................................................................................................................1 1. Pin Out ......................................................................................................................8 1.1 GS4911B Pin Assignment ..............................................................................8 1.2 GS4910B Pin Assignment ..............................................................................9 1.3 Pin Descriptions ............................................................................................10 1.4 Pre-Programmed Recognized Video and Graphics Standards ....................20 1.5 Output Timing Signals ...................................................................................25 2. Electrical Characteristics .........................................................................................29 2.1 Absolute Maximum Ratings ..........................................................................29 2.2 DC Electrical Characteristics ........................................................................29 2.3 AC Electrical Characteristics .........................................................................31 2.4 Solder Reflow Profiles ...................................................................................35 3. Detailed Description ................................................................................................36 3.1 Functional Overview .....................................................................................36 3.2 Modes of Operation ......................................................................................36 3.2.1 Genlock Mode......................................................................................37 3.2.2 Free Run Mode....................................................................................40 3.3 Output Timing Format Selection ...................................................................42 3.4 Input Reference Signals ................................................................................43 3.4.1 HSYNC, VSYNC, and FSYNC.............................................................43 3.4.2 10FID ...................................................................................................44 3.4.3 Automatic Polarity Recognition ............................................................45 3.5 Reference Format Detector ..........................................................................45 3.5.1 Horizontal and Vertical Timing Characteristic Measurements .............45 3.5.2 Input Reference Validity.......................................................................45 3.5.3 Behaviour on Loss and Re-acquisition of the Reference Signal..........47 3.5.4 Allowable Frequency Drift on the Reference .......................................49 3.6 Genlock .........................................................................................................50 3.6.1 Automatic Locking Process .................................................................50 3.6.2 Manual Locking Process......................................................................54 3.6.3 Adjustable Locking Time......................................................................58 3.6.4 Adjustable Loop Bandwidth .................................................................58 3.6.5 Locking to Digital Timing from a Deserializer ......................................60 3.7 Clock Synthesis ............................................................................................61 3.7.1 Video Clock Synthesis .........................................................................61 3.7.2 Audio Clock Synthesis (GS4911B only) ..............................................63 3.8 Video Timing Generator ................................................................................67 3.8.1 10 Field ID Pulse .................................................................................67
36655 - 2
April 2006
4 of 113
GS4911B/GS4910B Data Sheet
3.8.2 Audio Frame Synchronizing Pulse (GS4911B only) ............................68 3.8.3 USER_1~4...........................................................................................69 3.8.4 TIMING_OUT Pins...............................................................................71 3.9 Custom Clock Generation .............................................................................72 3.9.1 Programming a Custom Video Clock...................................................72 3.9.2 Programming a Custom Audio Clock (GS4911B only) ........................73 3.10 Custom Output Timing Signal Generation ..................................................74 3.10.1 Custom Input Reference....................................................................74 3.11 Extended Audio Mode for HD Demux using the Gennum Audio Core .......75 3.12 GSPI Host Interface ....................................................................................76 3.12.1 Command Word Description..............................................................77 3.12.2 Data Read and Write Timing .............................................................77 3.12.3 Configuration and Status Registers ...................................................79 3.13 JTAG .........................................................................................................105 3.14 Device Power-Up ......................................................................................106 3.14.1 Power Supply Sequencing...............................................................106 3.15 Device Reset .............................................................................................106 4. Application Reference Design ...............................................................................107 4.1 GS4911B Typical Application Circuit ..........................................................107 4.2 GS4910B Typical Application Circuit ..........................................................108 5. References & Relevant Standards ........................................................................109 6. Package & Ordering Information ...........................................................................110 6.1 Package Dimensions ..................................................................................110 6.2 Recommended PCB Footprint ....................................................................111 6.3 Packaging Data ...........................................................................................111 6.4 Ordering Information ...................................................................................112 7. Revision History ....................................................................................................113
36655 - 2
April 2006
5 of 113
GS4911B/GS4910B Data Sheet
List of Figures
GS4911B Functional Block Diagram........................................................................... 2 GS4910B Functional Block Diagram........................................................................... 3 Figure 1-1: XTAL1 and XTAL2 Reference Circuits ....................................................19 Figure 2-1: PCLK to TIMING_OUT Signal Output Timing ..........................................34 Figure 2-2: Maximum Pb-free Solder Reflow Profile (preferred) ................................35 Figure 2-3: Standard Pb Solder Reflow Profile .........................................................35 Figure 3-1: HD-SD Calculation ...................................................................................39 Figure 3-2: Output Accuracy and Modes of Operation ...............................................41 Figure 3-3: Example HSYNC, VSYNC, and FSYNC Analog Input Timing from a Sync Separator ...............................................................................................43 Figure 3-4: Example H Blanking, V Blanking, and F Digital Input Timing from an SDI Deserializer ............................................................................................43 Figure 3-5: 10FID Input Timing ..................................................................................44 Figure 3-6: Internal Video Genlock Block ...................................................................54 Figure 3-7: Internal Audio Genlock Block ...................................................................56 Figure 3-8: Default 10FID Output Timing ...................................................................67 Figure 3-9: Optional 10FID Output Timing .................................................................68 Figure 3-10: AFS Output Timing ................................................................................69 Figure 3-11: USER Programmable Output Signal .....................................................70 Figure 3-12: Custom Timing Parameters ...................................................................74 Figure 3-13: Audio Clock Block Diagram for HD Demux Operation ...........................75 Figure 3-14: GSPI Application Interface Connection .................................................76 Figure 3-15: Command Word Format ........................................................................77 Figure 3-16: Data Word Format .................................................................................77 Figure 3-17: GSPI Read Mode Timing .......................................................................78 Figure 3-18: GSPI Write Mode Timing .......................................................................78 Figure 3-19: In-Circuit JTAG ....................................................................................105 Figure 3-20: System JTAG .......................................................................................106
36655 - 2
April 2006
6 of 113
GS4911B/GS4910B Data Sheet
List of Tables
Table 1-1: Pin Descriptions ........................................................................................ 10 Table 1-2: Recognized Video and Graphics Standards ............................................. 21 Table 1-3: Output Timing Signals............................................................................... 25 Table 2-1: DC Electrical Characteristics .................................................................... 29 Table 2-2: AC Electrical Characteristics..................................................................... 31 Table 2-3: Suggested External Crystal Specification ................................................. 34 Table 3-1: Clock_Phase_Offset[15:0] Encoding Scheme .......................................... 38 Table 3-2: Ambiguous Standard Identification ........................................................... 47 Table 3-3: Max_Ref_Delta Encoding Scheme ........................................................... 49 Table 3-4: Cross-reference Genlock Table ................................................................ 52 Table 3-5: Integer Constant Value ............................................................................. 57 Table 3-6: Video Clock Phase Adjustment Host Settings .......................................... 62 Table 3-7: Audio Sample Rate Select ........................................................................ 63 Table 3-8: Audio Clock Divider................................................................................... 64 Table 3-9: Encoding Scheme for AFS_Reset_Window ............................................. 65 Table 3-10: Audio Sampling Frequency to Video Frame Rate Synchronization ........ 66 Table 3-11: Crosspoint Select .................................................................................... 71 Table 3-12: GSPI Timing Parameters ........................................................................ 78 Table 3-13: Configuration and Status Registers ........................................................ 79 Table 5-1: References & Relevant Standards.......................................................... 109
36655 - 2
April 2006
7 of 113
GS4911B/GS4910B Data Sheet
1. Pin Out
1.1 GS4911B Pin Assignment
PCLK1&2_GND PCLK1&2_VDD SDOUT_TDO
SDIN_TDI SCLK_TCLK
GENLOCK NC
JTAG/HOST PhS_GND
IO_VDD
PhS_VDD
CS_TMS
PCLK1 IO_VDD
RESET
LOCK_LOST REF_LOST VID_PLL_VDD VID_PLL_GND XTAL_VDD X1 X2 XTAL_GND CORE_GND ANALOG_VDD NC ANALOG_GND AUD_PLL_GND AUD_PLL_VDD 10FID HSYNC
1
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43
PCLK2
LVDS/PCLK3_GND PCLK3 PCLK3 LVDS/PCLK3_VDD CORE_VDD TIMING_OUT_8 TIMING_OUT_7 TIMING_OUT_6 TIMING_OUT_5 TIMING_OUT_4 IO_VDD TIMING_OUT_3 TIMING_OUT_2 TIMING_OUT_1 ASR_SEL0 ASR_SEL1
2 3 4 5 6 7 8 9 10 11 12 13 14
GS4911B 64-pin QFN (Top View)
42 41 40 39 38 37 36 35
34 15 16 33 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
IO_VDD
VID_STD0 NC FSYNC
IO_VDD ACLK3
CORE_VDD
Ground Pad (bottom of package)
36655 - 2
VSYNC
VID_STD1
VID_STD2
VID_STD3
VID_STD4
VID_STD5
ACLK1
ACLK2
ASR_SEL2
April 2006
8 of 113
GS4911B/GS4910B Data Sheet
1.2 GS4910B Pin Assignment
PCLK1&2_GND PCLK1&2_VDD SDOUT_TDO
SDIN_TDI SCLK_TCLK
GENLOCK NC
JTAG/HOST PhS_GND
IO_VDD
PhS_VDD
CS_TMS
PCLK1 IO_VDD
RESET
LOCK_LOST REF_LOST VID_PLL_VDD VID_PLL_GND XTAL_VDD X1 X2 XTAL_GND CORE_GND ANALOG_VDD NC ANALOG_GND ANALOG_GND ANALOG_GND 10FID HSYNC
1
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43
PCLK2
LVDS/PCLK3_GND PCLK3 PCLK3 LVDS/PCLK3_VDD CORE_VDD TIMING_OUT_8 TIMING_OUT_7 TIMING_OUT_6 TIMING_OUT_5 TIMING_OUT_4 IO_VDD TIMING_OUT_3 TIMING_OUT_2 TIMING_OUT_1 ANALOG_GND ANALOG_GND
2 3 4 5 6 7 8 9 10 11 12 13 14
GS4910B 64-pin QFN (Top View)
42 41 40 39 38 37 36 35
34 15 16 33 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
IO_VDD
VID_STD0 NC FSYNC
CORE_VDD
IO_VDD NC
Ground Pad (bottom of package)
36655 - 2
VSYNC
VID_STD1
VID_STD2
VID_STD3
VID_STD4
VID_STD5
NC
NC
ANALOG_GND
April 2006
9 of 113
GS4911B/GS4910B Data Sheet
1.3 Pin Descriptions
Table 1-1: Pin Descriptions Pin Number
1
Name
LOCK_LOST
Timing
Non Synchronous
Type
Output
Description
STATUS SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. This pin will be HIGH if the output is not genlocked to the input. The GS4911B/GS4910B monitors the output pixel/line counters, as well as the internal lock status from the genlock block and asserts LOCK_LOST HIGH if it is determined that the output is not genlocked to the input. This pin will be LOW if the device successfully genlocks the output clock and timing signals to the input reference. If LOCK_LOST is LOW, the reference timing generator outputs will be phase locked to the detected reference signal, producing an output in accordance with the video standard selected by the VID_STD[5:0] pins.
2
REF_LOST
Non Synchronous
Output
STATUS SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. This pin will be HIGH if: * No input reference signal is applied to the device; or * The input reference applied does not meet the minimum/maximum timing requirements described in Section 3.5.2 on page 45. This pin will be LOW otherwise. If the reference signal is removed when the device is in Genlock mode, REF_LOST will go HIGH and the GS4911B/GS4910B will enter Freeze mode (see Section 3.2.1.2 on page 40).
3 4 5
VID_PLL_VDD VID_PLL_GND XTAL_VDD
- - -
Power Supply Power Supply Power Supply
Most positive power supply connection for the video clock synthesis internal block. Connect to +1.8V DC. Ground connection for the video clock synthesis internal block. Connect to GND. Most positive power supply connection for the crystal buffer. Connect to either +1.8V DC or +3.3V DC. NOTE: Connect to +3.3V for minimum output PCLK jitter.
6
X1
Non Synchronous
Input
ANALOG SIGNAL INPUT Connect to a 27MHz crystal or a 27MHz external clock source. See Figure 1-1.
7
X2
Non Synchronous
Output
ANALOG SIGNAL OUTPUT Connect to a 27MHz crystal, or leave this pin open circuit if an external clock source is applied to pin 6. See Figure 1-1.
8 9
XTAL_GND CORE_GND
- -
Power Supply Power Supply
Ground connection for the crystal buffer. Connect to GND. Ground connection for core and I/O. Solder to the ground plane of the application board. NOTE: The CORE_GND pin should be soldered to the same main ground plane as the exposed ground pad on the bottom of the device.
10 11, 20, 63
ANALOG_VDD NC
- -
Power Supply -
Most positive power supply connection for the analog input block. Connect to +1.8V DC. Do not connect.
36655 - 2
April 2006
10 of 113
GS4911B/GS4910B Data Sheet
Table 1-1: Pin Descriptions (Continued) Pin Number
12 13
Name
ANALOG_GND AUD_PLL_GND (GS4911B only) ANALOG_GND (GS4910B only)
Timing
- - - - - Non Synchronous
Type
Power Supply Power Supply Power Supply Power Supply Power Supply Input
Description
Ground connection for the analog input block. Connect to GND. Ground connection for the audio clock synthesis internal block. Connect to GND. Ground connection for the analog input block. Connect to GND. Most positive power supply connection for the audio clock synthesis internal block. Connect to +1.8V DC. Ground connection for the analog input block. Connect to GND. REFERENCE SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. The 10FID external reference signal is applied to this pin by the application layer. 10FID defines the field in which the video and audio clock phase relationship is defined according to SMPTE 318-M. It is also used to define a 3:2 video cadence. NOTE: If the input reference format does not include a 10 Field ID signal, this pin should be held LOW. See Section 3.4.2 on page 44.
14
AUD_PLL_VDD (GS4911B only) ANALOG_GND (GS4910B only)
15
10FID
16
HSYNC
Non Synchronous
Input
REFERENCE SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. The HSYNC external reference signal is applied to this pin by the application layer. When the GS4911B/GS4910B is operating in Genlock mode, the device senses the polarity of the HSYNC input automatically, and references to the leading edge. If the user wishes to select one of the pre-programmed video and/or timing output signals provided by the device, then this signal must adhere to one of the 36 defined video or 16 different graphics display standards supported by the device. In this mode of operation, the HSYNC input provides a horizontal scanning reference signal. The HSYNC signal may have analog timing, such as from a sync separator, or may be digital such as from an SDI deserializer. Section 1.4 on page 20 describes the 36 video formats and 16 graphic formats recognized by the GS4911B/GS4910B.
17
VSYNC
Non Synchronous
Input
REFERENCE SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. The VSYNC external reference signal is applied to this pin by the application layer. When the GS4911B/GS4910B is operating in Genlock mode, the device senses the polarity of the VSYNC input automatically, and references to the leading edge. If the user wishes to select one of the pre-programmed video and/or timing output signals provided by the device, then this signal must adhere to one of the 36 defined video or 16 different graphics display standards supported by the device. In this mode of operation, the VSYNC input provides a vertical scanning reference signal. The VSYNC signal may have analog timing, such as from a sync separator, or may be digital such as from an SDI deserializer. Section 1.4 on page 20 describes the 36 video formats and 16 graphic formats recognized by the GS4911B/GS4910B.
36655 - 2
April 2006
11 of 113
GS4911B/GS4910B Data Sheet
Table 1-1: Pin Descriptions (Continued) Pin Number
18, 31, 38, 50, 62
Name
IO_VDD
Timing
-
Type
Power Supply
Description
Most positive power supply connection for the digital I/O signals. Connect to either +1.8V DC or +3.3V DC. NOTE: All five IO_VDD pins must be powered by the same voltage.
19
FSYNC
Non Synchronous
Input
REFERENCE SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. The FSYNC external reference signal is applied to this pin by the application layer. The first field is defined as the field in which the first broad pulse (also known as serration) is in the first half of a line. The FSYNC signal should be set HIGH during the first field for sync-based references. If the user wishes to select one of the pre-programmed video and/or timing output signals provided by the device, then this signal must adhere to one of the 36 defined video or 16 different graphics display standards supported by the device. In this mode of operation, the FSYNC input provides an odd/even field input reference. The FSYNC signal may have analog timing, such as from a sync separator, or may be digital such as from an SDI deserializer. Section 1.4 on page 20 describes the 36 video formats and 16 graphic formats recognized by the GS4911B/GS4910B. For blanking-based references, the FSYNC signal should be set HIGH during the second field. NOTE: If the input reference format does not include an F sync signal, this pin should be held LOW.
27, 25, 24, 23, 22, 21
VID_STD[5:0]
Non Synchronous
Input
CONTROL SIGNAL INPUTS Signal levels are LVCMOS/LVTTL compatible. Video Standard Select. Used to select the desired video/graphic display format for video clock and timing signal generation. 8 different video and 13 different graphic sample clocks, as well as 35 different video format and 13 different graphic format timing signal outputs may be selected using these pins. For details on the supported video standards and video clock frequency selection, please see Section 1.4 on page 20.
26, 44
CORE_VDD
-
Power Supply
Most positive power supply connection for the digital core. Connect to +1.8V DC.
36655 - 2
April 2006
12 of 113
GS4911B/GS4910B Data Sheet
Table 1-1: Pin Descriptions (Continued) Pin Number
28, 29, 30
Name
ACLK1 ACLK2 ACLK3 (GS4911B only)
Timing
-
Type
Output
Description
CLOCK SIGNAL OUTPUTS Signal levels are LVCMOS/LVTTL compatible. Audio output clock signals. ACLK1, ACLK2, and ACLK3 present audio sample rate clock outputs to the application layer. By default, after system reset, the audio clock output pins of the device provide clock signals as follows: ACLK1 = 256fs ACLK2 = 64fs ACLK3 = fs, where fs is the fundamental sampling frequency. The fundamental sampling frequency is selected using ASR_SEL[2:0]. Additional sampling frequencies may be programmed in the host interface. It is also possible to select different division ratios for each of the audio clock outputs by programming designated registers in the host interface. Clock outputs of 512fs, 384fs, 256fs, 192fs, 128fs, 64fs, fs and z bit are selectable on a pin-by-pin basis. NOTE: ACLK1-3 will have a 50% duty cycle, unless fs is selected as 96kHz and the host interface is configured such that one of the three ACLK pins is set to output a clock signal at 192fs or 384fs. If this is the case, then a 512fs clock will have a 33% duty cycle. These signals will be high impedance when ASR_SEL[2:0] = 000b.
NC (GS4910B only) 32, 33, 34 ASR_SEL[2:0] (GS4911B only)
- Non Synchronous
- Input
Do not connect. CONTROL SIGNAL INPUTS Signal levels are LVCMOS/LVTTL compatible. Audio Sample Rate Select. Used to select the fundamental sampling frequency, fs, of the audio clock outputs. See Table 3-7. When ASR_SEL[2:0] = 000b, audio clock generation will be disabled and the ACLK1 to ACLK3 pins will be high impedance. In this case, AUD_PLL_VDD (pin 14) may be connected to GND to minimize noise and power consumption.
ANALOG_GND (GS4910B only) 35 TIMING_OUT_1
- Synchronous with PCLK1 ~ PCLK3
Power Supply Output
Ground connection for the analog input block. Connect to GND. TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 25 for signal descriptions. NOTE: Default output is H Sync. The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h.
36655 - 2
April 2006
13 of 113
GS4911B/GS4910B Data Sheet
Table 1-1: Pin Descriptions (Continued) Pin Number
36
Name
TIMING_OUT_2
Timing
Synchronous with PCLK1 ~ PCLK3
Type
Output
Description
TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 25 for signal descriptions. NOTE: Default output is H blanking. The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h.
37
TIMING_OUT_3
Synchronous with PCLK1 ~ PCLK3
Output
TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 25 for signal descriptions. NOTE: Default output is V Sync. The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h.
39
TIMING_OUT_4
Synchronous with PCLK1 ~ PCLK3
Output
TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 25 for signal descriptions. NOTE: Default output is V blanking. The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h.
40
TIMING_OUT_5
Synchronous with PCLK1 ~ PCLK3
Output
TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 25 for signal descriptions. NOTE: Default output is F Sync. The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h.
36655 - 2
April 2006
14 of 113
GS4911B/GS4910B Data Sheet
Table 1-1: Pin Descriptions (Continued) Pin Number
41
Name
TIMING_OUT_6
Timing
Synchronous with PCLK1 ~ PCLK3
Type
Output
Description
TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 25 for signal descriptions. NOTE: Default output is F digital. The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h.
42
TIMING_OUT_7
Synchronous with PCLK1 ~ PCLK3
Output
TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 25 for signal descriptions. NOTE: Default output is 10 Field ID (10FID). The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h.
43
TIMING_OUT_8
Synchronous with PCLK1 ~ PCLK3
Output
TIMING SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Selectable timing output. Selectable from: H sync; H blanking; V sync; V blanking; F sync; F digital; Display Enable; 10 field ID (film cadence); AFS video/audio timing (GS4911B only); USER_1~4. See Section 1.5 on page 25 for signal descriptions. NOTE: Default output is Display Enable (DE). The current drive capability of this pin may be set high or low via designated registers in the host interface. By default, the current drive will be low. This signal will be high impedance when VID_STD[5:0] = 00h.
45
LVDS/PCLK3_VDD
-
Power Supply
Most positive power supply connection for PCLK3 output circuitry and LVDS driver. Connect to +1.8V DC.
36655 - 2
April 2006
15 of 113
GS4911B/GS4910B Data Sheet
Table 1-1: Pin Descriptions (Continued) Pin Number
46, 47
Name
PCLK3, PCLK3
Timing
-
Type
Output
Description
CLOCK SIGNAL OUTPUTS Signal levels are LVDS compatible. Differential video clock output signal.
PCLK3/PCLK3 present a differential video sample rate clock output to
the application layer. By default, after system reset, this output will operate at the fundamental frequency determined by the setting of the VID_STD[5:0] pins. It is possible to define other non-standard fundamental clock rates using the host interface. It is also possible to select different division ratios for the
PCLK3/PCLK3 outputs by programming designated registers in the
host interface. A clock output of the fundamental rate, fundamental rate /2, or fundamental rate /4 may be selected. The PCLK3/PCLK3 outputs will be high impedance when VID_STD[5:0] = 00h. 48 49 LVDS/PCLK3_GND PCLK2 - - Power Supply Output Ground connection for PCLK3 output circuitry and LVDS driver. Connect to GND. CLOCK SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Video clock output signal. PCLK2 presents a video sample rate clock output to the application layer. By default, after system reset, the PCLK2 output pin will operate at the fundamental frequency determined by the setting of the VID_STD[5:0] pins. It is possible to define other non-standard fundamental clock rates using the host interface. It is also possible to select different division ratios for the PCLK2 output by programming designated registers in the host interface. A clock output of the fundamental rate, fundamental rate /2, or fundamental rate /4 may be selected. By setting designated registers in the host interface, the current drive capability of this pin may be set high or low. By default, the current drive will be low. It must be set high if the clock rate is greater than 100MHz. The PCLK2 output will be held LOW when VID_STD[5:0] = 00h.
36655 - 2
April 2006
16 of 113
GS4911B/GS4910B Data Sheet
Table 1-1: Pin Descriptions (Continued) Pin Number
51
Name
PCLK1
Timing
-
Type
Output
Description
CLOCK SIGNAL OUTPUT Signal levels are LVCMOS/LVTTL compatible. Video clock output signal. PCLK1 presents a video sample rate clock output to the application layer. By default, after system reset, the PCLK1 output pin will operate at the fundamental frequency determined by the setting of the VID_STD[5:0] pins. It is possible to define other non-standard fundamental clock rates using the host interface. It is also possible to select different division ratios for the PCLK1 output by programming designated registers in the host interface. A clock output of the fundamental rate, fundamental rate /2, or fundamental rate /4 may be selected. By setting designated registers in the host interface, the current drive capability of this pin may be set high or low. By default, the current drive will be low. It must be set high if the clock rate is greater than 100MHz. The PCLK1 output will be held LOW when VID_STD[5:0] = 00h.
52 53 54 55 56
PCLK1&2_GND PCLK1&2_VDD PhS_VDD PhS_GND JTAG/HOST
- - - - Non Synchronous
Power Supply Power Supply Power Supply Power Supply Input
Ground connection for PCLK1&2 circuitry. Connect to GND. Most positive power supply connection for PCLK1&2 circuitry. Connect to +1.8V DC. Most positive power supply connection for the video clock phase shift internal block. Connect to +1.8V DC. Ground connection for the video clock phase shift internal block. Connect to GND. CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Used to select JTAG Test Mode or Host Interface Mode. When set HIGH, CS_TMS, SCLK_TCLK, SDOUT_TDO, and SDIN_TDI are configured for JTAG boundary scan testing. When set LOW, CS_TMS, SCLK_TCLK, SDOUT_TDO, and SDIN_TDI are configured as GSPI pins for normal host interface operation.
57
SCLK_TCLK
Non Synchronous
Input
SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Serial Data Clock / Test Clock. All JTAG / Host Interface address and data are shifted into/out of the device synchronously with this clock. Host Mode (JTAG/HOST = LOW): SCLK_TCLK operates as the host interface serial data clock, SCLK. JTAG Test Mode (JTAG/HOST = HIGH): SCLK_TCLK operates as the JTAG test clock, TCLK.
36655 - 2
April 2006
17 of 113
GS4911B/GS4910B Data Sheet
Table 1-1: Pin Descriptions (Continued) Pin Number
58
Name
SDIN_TDI
Timing
Synchronous with SCLK_TCLK
Type
Input
Description
SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Serial Data Input / Test Data Input. Host Mode (JTAG/HOST = LOW): SDIN_TDI operates as the host interface serial input, SDIN, used to write address and configuration information to the internal registers of the device. JTAG Test Mode (JTAG/HOST = HIGH): SDIN_TDI operates as the JTAG test data input, TDI.
59
SDOUT_TDO
Synchronous with SCLK_TCLK
Output
SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Serial Data Output / Test Data Output. Host Mode (JTAG/HOST = LOW): SDOUT_TDO operates as the host interface serial output, SDOUT, used to read status and configuration information from the internal registers of the device. JTAG Test Mode (JTAG/HOST = HIGH): SDOUT_TDO operates as the JTAG test data output, TDO.
60
CS_TMS
Synchronous with SCLK_TCLK
Input
SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Chip Select / Test Mode Select. Host Mode (JTAG/HOST = LOW): CS_TMS operates as the host interface chip select, CS, and is active LOW. JTAG Test Mode (JTAG/HOST = HIGH): CS_TMS operates as the JTAG test mode select, TMS, and is active HIGH.
61
RESET
Non Synchronous
Input
CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Used to reset the internal operating conditions to their default settings or to reset the JTAG test sequence. Host Mode (JTAG/HOST = LOW): When asserted LOW, all host registers and functional blocks will be set to their default conditions. All input and output signals will become high impedance, except PCLK1 and PCLK2, which will be set LOW. When set HIGH, normal operation of the device will resume. The user must hold this pin LOW during power-up and for a minimum of 500 uS after the last supply has reached its operating voltage. JTAG Test Mode (JTAG/HOST = HIGH): When asserted LOW, all host registers and functional blocks will be set to their default conditions and the JTAG test sequence will be held in reset. When set HIGH, normal operation of the JTAG test sequence will resume.
36655 - 2
April 2006
18 of 113
GS4911B/GS4910B Data Sheet
Table 1-1: Pin Descriptions (Continued) Pin Number
64
Name
GENLOCK
Timing
Non Synchronous
Type
Input
Description
CONTROL SIGNAL INPUT Signal levels are LVCMOS/LVTTL compatible. Selects Genlock mode or Free Run mode. When this pin is set LOW and the device has successfully genlocked the output to the input reference, the device will enter Genlock mode. The video clock and timing outputs will be frequency and phase locked to the detected reference signal. When this pin is set HIGH, the video clock and the reference-timing generator will free-run. By default, the GS4911B's audio clocks will be genlocked to the output video clock regardless of the setting of this pin. NOTE: The user must apply a reference to the input of the device prior to setting GENLOCK = LOW. If the GENLOCK pin is set LOW and no reference signal is present, the generated clock and timing outputs of the device may correspond to the internal default settings of the chip until a reference is applied.
-
Ground Pad
-
-
Ground pad on bottom of package must be soldered to main ground plane of PCB.
External Crystal Connection
38pF 6 X1 1M 7 X2 24pF
External Clock Source Connection external clock
6 X1
7 X2 NC
Notes: 1. Capacitor values listed represent the total capacitance, including discrete capacitance and parasitic board capacitance. 2. X1 serves as an input, which may alternatively accept a 27MHz clock source. To accomodate this, mismatched capacitor values are recommended.
Figure 1-1: XTAL1 and XTAL2 Reference Circuits
36655 - 2
April 2006
19 of 113
GS4911B/GS4910B Data Sheet
1.4 Pre-Programmed Recognized Video and Graphics Standards
Table 1-2 describes the video and graphics standards automatically recognized by the GS4911B/GS4910B. Any one of the 36 different video formats and 16 different graphic display formats listed below can be applied to the GS4911B/GS4910B and automatically detected by the reference format detector. Moreover, each format, with the exception of VID_STD[5:0] = 2, 52, 53, or 54, is available for output on the timing output pins by setting the VID_STD[5:0] pins. In addition to the pre-programmed video standards listed in Table 1-2, custom output timing signals may be generated by the GS4911B/GS4910B. The custom timing parameters are programmed in the host interface when VID_STD[5:0] is set to 62 (see Section 3.10 on page 74). Setting VID_STD[5:0] to 63 will cause the device to produce an output format with identical timing to the detected input reference. If desired, the external VID_STD[5:0] pins may be ignored by setting bit 1 of the Video_Control register, and the video standard may instead be selected via the VID_STD[5:0] register of the host interface (see Section 3.12.3 on page 79). Although the external VID_STD[5:0] pins will be ignored in this case, they should not be left floating.
36655 - 2
April 2006
20 of 113
GS4911B/GS4910B Data Sheet
Table 1-2: Recognized Video and Graphics Standards Video PCLK Frequency (MHz)
- - - - - - - - -
VID_STD [5:0]
System Nomenclature
PCLKS / Total Line
Total Lines / Frame
PCLKS / Active Line
H Sync Width (Clocks)
H Sync Polarity
V Sync Width (Lines)
V Sync Polarity
Active Lines / Frame
-
Scan Format Standard
0
PCLK1&2 =LOW. PCLK3/PCLK3 = High Impedance 14.32 - 27 27 36 36 54 54 54 54 74.25 74.175 74.25 1650 1980 1650 1728 625 750 750 750 1716 525 3456 625 2880 1440 1440 1280 1280 1280 3432 525 2880 2304 625 1920 169 252 252 127 127 80 80 80 2288 525 1920 169 1728 625 1440 127 negative negative negative negative negative negative negative tri tri tri 1716 525 1440 127 negative - 625 - - negative 2.5 3 2.5 3 2.5 3 2.5 6 5 5 5 5 910 525 768 67 negative 3 negative negative negative negative negative negative negative negative negative negative negative negative negative
1
4fsc 525 / 2:1 interlace
486 576 486 576 486 576 486 576 483 576 720 720 720
SMPTE 244M - SMPTE 125M/267M ITU-R BT.601-5 SMPTE 267M ITU-R BT.601-5 SMPTE RP174 / SMPTE 347M ITU-R BT.799 / SMPTE 347M SMPTE 293M / SMPTE 347M ITU-R BT.1358 / SMPTE 347M SMPTE 296M SMPTE 296M SMPTE 296M
2*
Composite PAL 625 / 2:1 interlace / 25
3
601 525 / 2:1 interlace
4
601 625 / 2:1 interlace
5
601 - 18MHz 525 / 2:1 interlace
6
601 - 18 MHz 625 / 2:1 interlace
7
720x486/59.94/2:1 interlace
8
720x576/50/2:1 interlace
9
720x483/59.94/1:1 progressive
10
720x576/50/1:1 progressive
11
1280x720/60/1:1 progressive
12
1280x720/59.94/1:1 progressive
13
1280/720/50/1:1 progressive
36655 - 2
April 2006
21 of 113
GS4911B/GS4910B Data Sheet
Table 1-2: Recognized Video and Graphics Standards (Continued) Video PCLK Frequency (MHz)
74.25 74.175 74.25 74.25 74.175 74.25 74.175 148.5 148.35 148.5 - 74.25 74.175 74.25 - 2640 - 2200 2200 1125 1125 1125 - - - 2640 1125 1920 - 1920 1920 1920 - 2200 1125 1920 2200 1125 1920 80 80 80 - 80 80 80 - 2200 1125 1920 80 2200 1125 1920 80 tri tri tri tri tri - tri tri tri - 4125 750 1280 80 tri 4125 750 1280 80 tri 5 5 5 5 5 5 5 - 5 5 5 - 3960 750 1280 80 tri 5 3300 750 1280 80 tri 5 negative negative negative negative negative negative negative negative negative - negative negative negative - 3300 750 1280 80 tri 5 negative 720 720 720 720 720 1035 1035 1080 1080 1080 - 1080 1080 1080 -
VID_STD [5:0]
System Nomenclature
PCLKS / Total Line
Total Lines / Frame
PCLKS / Active Line
H Sync Width (Clocks)
H Sync Polarity
V Sync Width (Lines)
V Sync Polarity
Active Lines / Frame
Scan Format Standard
SMPTE 296M SMPTE 296M SMPTE 296M SMPTE 296M SMPTE 296M SMPTE 260M SMPTE 260M SMPTE 274M SMPTE 274M SMPTE 274M - SMPTE 274M SMPTE 274M SMPTE 274M -
14
1280x720/30/1:1 progressive
15
1280x720/29.97/1:1 progressive
16
1280x720/25/1:1 progressive
17
1280x720/24/1:1 progressive
18
1280x720/23.98/1:1 progressive
19
1920x1035/60/2:1 interlace
20
1920x1035/59.94/2:1 interlace
21
1920x1080/60/1:1 progressive
22
1920x1080/59.94/1:1 progressive
23
1920x1080/50/1:1 progressive
24
Reserved
25
1920x1080/60/2:1 interlace
26
1920x1080/59.94/2:1 interlace
27
1920x1080/50/2:1 interlace
28
Reserved
36655 - 2
April 2006
22 of 113
GS4911B/GS4910B Data Sheet
Table 1-2: Recognized Video and Graphics Standards (Continued) Video PCLK Frequency (MHz)
74.25 74.25 74.175 74.175 74.25 74.25 74.25 74.25 74.175 74.175 25.2 31.5 36 40.00 49.5 56.25 65 1048 1344 1056 1056 628 625 631 806 832 509 840 500 640 640 800 800 800 1024 800 525 640 2750 1125 1920 2750 1125 1920 80 80 96 64 56 128 80 64 136 2750 1125 1920 80 2750 1125 1920 80 tri tri tri tri negative negative negative positive positive positive negative 2640 1125 1920 80 tri 2640 1125 1920 80 tri 5 5 5 5 5 5 2 3 3 4 3 3 6 2200 1125 1920 80 tri 5 2200 1125 1920 80 tri 5 2200 1125 1920 80 tri 5 negative negative negative negative negative negative negative negative negative negative negative negative positive positive positive negative 2200 1125 1920 80 tri 5 negative 1080 1080 1080 1080 1080 1080 1080 1080 1080 1080 480 480 480 600 600 600 768
VID_STD [5:0]
System Nomenclature
PCLKS / Total Line
Total Lines / Frame
PCLKS / Active Line
H Sync Width (Clocks)
H Sync Polarity
V Sync Width (Lines)
V Sync Polarity
Active Lines / Frame
Scan Format Standard
SMPTE 274M SMPTE RP 211 SMPTE 274M SMPTE RP 211 SMPTE 274M SMPTE RP 211 SMPTE 274M SMPTE RP 211 SMPTE 274M SMPTE RP 211 IBM Standard VESA VDMT75HZ VESA VDMTPROP VESA VG900602 VESA VDMT75HZ VESA VDMTPROP VESA VG901101A
29
1920x1080/30/1:1 progressive
30
1920x1080/30/PsF
31
1920x1080/29.97/1:1 progressive
32
1920x1080/29.97/PsF
33
1920x1080/25/1:1 progressive
34
1920x1080/25/PsF
35
1920x1080/24/1:1 progressive
36
1920x1080/24/PsF
37
1920x1080/23.98/1:1 progressive
38
1920x1080/23.98/PsF
39
640 x 480 VGA @ 60 Hz
40
640 x 480 VGA @ 75 Hz
41
640 x 480 VGA @ 85 Hz
42
800 x 600 SVGA @ 60 Hz
43
800 x 600 SVGA @ 75 Hz
44
800 x 600 SVGA @ 85 Hz
45
1024 x 768 XGA @ 60 Hz
36655 - 2
April 2006
23 of 113
GS4911B/GS4910B Data Sheet
Table 1-2: Recognized Video and Graphics Standards (Continued) Video PCLK Frequency (MHz)
78.75 94.5 108.00 135.00 157.5 162 - - - - - - - - - - - - 1589 - - 1250 - - - - - - 1250 - - 2160 1250 1600 192 negative negative negative negative - - 1728 1072 1280 160 negative 1688 1066 1280 144 negative 3 3 3 3 3 3 - - 1688 1066 1280 112 positive 3 1376 808 1024 96 negative 3 positive positive positive positive positive positive positive positive - - 1312 800 1024 96 positive 3 positive 768 768 1024 1024 1024 1200 1200 1200 1536 - -
VID_STD [5:0]
System Nomenclature
PCLKS / Total Line
Total Lines / Frame
PCLKS / Active Line
H Sync Width (Clocks)
H Sync Polarity
V Sync Width (Lines)
V Sync Polarity
Active Lines / Frame
Scan Format Standard
VESA VDMT75HZ VESA VDMTPROP VESA VDMTREV VESA VDMT75HZ VESA VDMTPROP VESA VDMTPROP - - - - -
46
1024 x 768 XGA @ 75 Hz
47
1024 x 768 XGA @ 85 Hz
48
1280 x 1024 SXGA @ 60 Hz
49
1280 x 1024 SXGA @ 75 Hz
50
1280 x 1024 SXGA @ 85 Hz
51
1600 x 1200 UXGA @ 60 Hz
52*
1600 x 1200 UXGA @ 75 Hz
53*
1600 x 1200 UXGA @ 85 Hz
54*
2048 x 1536 QXGA @ 60 Hz
55 - 61
Reserved
62
Custom format only (Section 3.10 on page 74) - - -
63
Automatic Output Standard follows Input Standard
-
-
-
-
-
-
-
* VID_STD[5:0] = 2, 52, 53, and 54 are recognized as input references only. To generate clock and timing signals for these standards use the device's custom format capability.
The LOCK_LOST output signal will be unstable when attempting to genlock to an input reference corresponding to VID_STD[5:0] = 51, although the device does achieve lock. To correct this, the user can program register address 27h = 38d.
When VID_STD = 4, 6, or 8, the Vblanking output pulse width is 2 lines too long for field 1 and 1 line too short for field 2 when compared to the digital timing defined in ITU-R BT.656 and ITU-R BT.799.
36655 - 2
April 2006
24 of 113
GS4911B/GS4910B Data Sheet
1.5 Output Timing Signals
Table 1-3 describes the output timing signals available to the user via pins TIMING_OUT_1 to TIMING_OUT_8. The user may output any of the signals listed below on each pin by programming the Output_Select registers beginning at address 43h of the host interface.
s
Table 1-3: Output Timing Signals Signal Name
H Sync
Description
The H Sync signal has a leading edge at the start of the horizontal sync pulse. Its length is determined by the selected video standard (see Table 1-2), or according to custom timing parameters programmed in the host interface (see Section 3.10 on page 74). The width of the H Sync output pulse is determined by the selected video standard. Table 1-2 lists the H Sync width (in clocks) of each pre-programmed video and graphics standard recognized by the GS4911B/GS4910B. Custom video timing parameters may also be programmed in the host interface to define a unique H Sync width (see Section 3.10 on page 74). In Genlock mode the leading edge of the output H Sync signal is nominally simultaneous with the half amplitude point of the reference HSYNC input. This timing may be offset using the Genlock Offset registers beginning at address 1Bh of the host interface (see Section 3.2.1.1 on page 37). By default, after system reset, the polarity of the H Sync signal output will be active LOW. The polarity may be selected as active HIGH by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79).
Default Output Pin
TIMING_OUT_1
H Blanking
The H Blanking signal is used to indicate the portion of the video line not containing active video data. The H Blanking signal will be LOW (default polarity) for the portion of the video line containing valid video samples. The signal will be LOW at the first valid pixel of the line, and HIGH after the last valid pixel of the line. The H Blanking signal remains HIGH throughout the horizontal blanking period. The width of this signal will be determined by the selected video standard (see Table 1-2), or according to custom timing parameters programmed in the host interface (see Section 3.10 on page 74). When in Genlock mode, the output H Blanking signal will be phase locked to the reference HSYNC input. This timing may be offset using the Genlock Offset registers beginning at address 1Bh of the host interface (see Section 3.2.1.1 on page 37). The default polarity of this signal may be inverted by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79).
TIMING_OUT_2
36655 - 2
April 2006
25 of 113
GS4911B/GS4910B Data Sheet
Table 1-3: Output Timing Signals (Continued) Signal Name
V Sync
Description
The V Sync timing signal has a leading edge at the start of the vertical sync pulse. Its length is determined by the selected video standard (see Table 1-2), or according to custom timing parameters programmed in the host interface (see Section 3.10 on page 74). The leading edge of V Sync is nominally simultaneous with the leading edge of the first broad pulse. When in Genlock mode, the output V Sync signal will be phase locked to the reference VSYNC input. This timing may be offset using the Genlock Offset registers beginning at address 1Bh of the host interface (see Section 3.2.1.1 on page 37). By default, after system reset, the polarity of the V Sync signal output will be active LOW. The polarity may be selected as active HIGH by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79).
Default Output Pin
TIMING_OUT_3
V Blanking
The V Blanking signal is used to indicate the portion of the video field/frame not containing active video lines. The V Blanking signal will be LOW (default polarity) for the portion of the field/frame containing valid video data, and will be HIGH throughout the vertical blanking period. The width of this signal will be determined by the selected video standard (see Table 1-2), or according to custom timing parameters programmed in the host interface (see Section 3.10 on page 74). When in Genlock mode, the output V Blanking signal will be phase locked to the reference VSYNC input. This timing may be offset using the Genlock Offset registers beginning at address 1Bh of the host interface (see Section 3.2.1.1 on page 37). The default polarity of this signal may be inverted by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79). NOTE: When VID_STD = 4, 6, or 8, the Vblank output pulse width is 2 lines too long for field 1 and 1 line too short for field 2 when compared to the digital timing defined in ITU-R BT.656 and ITU-R BT.799.
TIMING_OUT_4
F Sync
The F Sync signal is used to indicate field 1 and field 2 for interlaced video formats. The F Sync signal will be HIGH (default polarity) for the entire period of field 1. It will be LOW for all lines in field 2 and for all lines in progressive scan systems. The width and timing of this signal will be determined by the V Sync parameters of the selected video standard (see Table 1-2), or according to custom V Sync timing parameters programmed in the host interface (see Section 3.10 on page 74). The F Sync signal always changes state on the leading edge of V Sync. When in Genlock mode, the output F Sync signal will be phase locked to the reference FSYNC input. This timing may be offset using the Genlock Offset registers beginning at address 1Bh of the host interface (see Section 3.2.1.1 on page 37). The default polarity of this signal may be inverted by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79).
TIMING_OUT_5
36655 - 2
April 2006
26 of 113
GS4911B/GS4910B Data Sheet
Table 1-3: Output Timing Signals (Continued) Signal Name
F Digital
Description
F Digital is used in digital interlaced standards to indicate field 1 and field 2. The F Digital changes state at the leading edge of every V Blanking pulse. It will be LOW (default polarity) for the entire period of field 1 and for all lines in progressive scan systems. It will be HIGH for all lines in field 2 . The width and timing of this signal will be determined by the timing parameters of the selected video standard (see Table 1-2), or according to custom parameters programmed in the host interface (see Section 3.10 on page 74). When in Genlock mode, the output F Digital signal will be phase locked to the reference FSYNC input. This timing may be offset using the Genlock Offset registers beginning at address 1Bh of the host interface (see Section 3.2.1.1 on page 37). The default polarity of this signal may be inverted by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79).
Default Output Pin
TIMING_OUT_6
10 Field Identification
The 10 Field Identification (10FID) signal is used to indicate the 10-field sequence for 29.97Hz, 30Hz, 59.94Hz and 60Hz video standards. It will be LOW for output standards with other frame rates. The sequence defines the phase relationship between film frames and video frames, so that cadence may be maintained in mixed format environments. The 10FID signal will be HIGH (default polarity) for one line at the start of the 10-field sequence. It will be LOW for all other lines. The signal's rising and falling edges will be simultaneous with the leading edge of the H Sync output signal. Alternatively, by setting bit 4 of the Video_Control register (see Section 3.12.3 on page 79), the 10FID output signal may be configured to go HIGH (default polarity) on the leading edge of the H Sync output on line 1 of the first field in the 10 field sequence, and be reset LOW on the leading edge of the H Sync pulse of the first line of the second field in the 10 field sequence. When in Genlock mode, the output 10FID signal will be phase locked to the 10FID reference input. If a 10FID input is not provided to the device, the user must configure the 10FID output using register 1Ah of the host interface (see Section 3.8.1 on page 67). For applications involving audio, this signal may be used in place of the AFS signal if the format selected is appropriate for a 10 field AFS repetition rate, and the desired phase relationship of audio to video clock phasing coincides with the desired film frame cadence. The default polarity of this signal may be inverted by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79). Please see Section 3.8.1 on page 67 for more detail on the 10FID output signal.
TIMING_OUT_7
Display Enable
The Display Enable (DE) signal is used to indicate the display enable for graphic display interfaces. This signal will be HIGH (default polarity) whenever pixel information is to be displayed on the display device (i.e. whenever both H Blanking and V Blanking are in the active video state) The width and timing of this signal will be determined by the timing parameters of the selected video standard (see Table 1-2), or according to custom timing parameters programmed in the host interface (see Section 3.10 on page 74). The default polarity of this signal may be inverted by programming the Polarity register at address 56h of the host interface (see Section 3.12.3 on page 79).
TIMING_OUT_8
36655 - 2
April 2006
27 of 113
GS4911B/GS4910B Data Sheet
Table 1-3: Output Timing Signals (Continued) Signal Name
Audio Frame Sync (GS4911B only)
Description
The Audio Frame Sync (AFS) signal is HIGH (default polarity) for the duration of the first line of the n'th video frame to indicate that the ACLK dividers are reset at the start of line 1 of that frame. It is defined according to the frame rate of the video format and the selected audio sample rate programmed via the VID_STD[5:0] and ASR_SEL[2:0] pins or the host interface. For example, if the video format is based on a 59.94Hz frame rate and the audio sample rate clock is 48kHz, then n=5, and the AFS signal will be identical to the 10FID signal. By default, the AFS signal is reset by the 10 Field Identification (10FID) reference input. This feature may be disabled using the Audio_Control register at address 31h of the host interface (see Section 3.12.3 on page 79). The AFS signal may also be reset using register 1Ah of the host interface. With no reference, the frame divide by "n" controlling the AFS signal will free-run at an arbitrary phase. The default polarity of this signal may be inverted by programming the Polarity register at address 56h of the host interface (see Section 3.12.3). Please see Section 3.8.2 on page 68 for more detail on the AFS output signal.
Default Output Pin
-
USER_1~4
The GS4911B/GS4910B offers four user programmable output signals. Each USER signal is controlled by four timing registers and a polarity select bit. The timing registers define the start and stop times in H pixels and V lines and begin at address 57h of the host interface (see Section 3.12.3 on page 79). Each user signal is individually programmable and the polarity, position, and width of each output may be defined with respect to the H, V, and F output timings of the device. Each output signal may be programmed in both the horizontal and vertical dimensions relative to the leading edges of H and V Sync. If desired, the pulses produced may then be combined with a logical AND, OR, or XOR function to produce a composite signal (for example, a horizontal back porch pulse during active lines only, or the active part of lines 15 through 20 for vertical information retrieval). Each output has selectable polarity. Please see Section 3.8.3 on page 69 for more detail on the USER_1~4 output signals.
-
36655 - 2
April 2006
28 of 113
GS4911B/GS4910B Data Sheet
2. Electrical Characteristics
2.1 Absolute Maximum Ratings
Parameter
Supply Voltage Core and Analog (CORE_VDD, VID_PLL_VDD, AUD_PLL_VDD, PhS_VDD, ANALOG_VDD) Supply Voltage I/O (IO_VDD, XTAL_VDD) Input Voltage Range (any input) IO_VDD = +3.3V IO_VDD = +1.8V Operating Temperature Storage Temperature Soldering Temperature ESD protection on all pins - - - - -0.3V to +5.5V -0.3V to +3.6V -20C < TA < 85C -50C < TSTG < 125C 260C 1 kV - -0.3V to +3.6V
Conditions
-
Value/Units
-0.3V to +2.1V
2.2 DC Electrical Characteristics
Table 2-1: DC Electrical Characteristics
VDD = 1.8V, TA = 0C to 70C, unless otherwise specified.
Parameter System
Operating Temperature Range Core power supply voltage Digital I/O Buffer Power Supply Voltage Video PLL Power Supply Voltage Audio PLL Power Supply Voltage (GS4911B only) Analog Power Supply Voltage Crystal Buffer Power Supply Voltage
Symbol
Condition
Min
Typ
Max
Units
Notes
TA CORE_VDD IO_VDD IO_VDD VID_PLL_VDD AUD_PLL_VDD ANALOG_VDD XTAL_VDD XTAL_VDD
- - 1.8V Operation 3.3V Operation - - - 1.8V Operation 3.3V Operation -
0 1.71 1.71 3.135 1.71 1.71 1.71 1.71 3.135 1.71
25 1.8 1.8 3.3 1.8 1.8 1.8 1.8 3.3 1.8
70 1.89 1.89 3.465 1.89 1.89 1.89 1.89 3.465 1.89
C V V V V V V V V V
1 - - - - - - - - -
Video Clock Phase Shift Supply Voltage
PhS_VDD
36655 - 2
April 2006
29 of 113
GS4911B/GS4910B Data Sheet
Table 2-1: DC Electrical Characteristics (Continued)
VDD = 1.8V, TA = 0C to 70C, unless otherwise specified.
Parameter
System Power
Symbol
PD
Condition
GS4911B CORE_VDD = Max IO_VDD = Max T = 70oC unloaded, max PCLK frequency
Min
-
Typ
-
Max
450
Units
mW
Notes
-
PD
GS4911B CORE_VDD = 1.8V IO_VDD = 3.3V T = 25oC unloaded, PCLK = 74.25MHz
-
300
-
mW
-
PD
GS4910B CORE_VDD = Max IO_VDD = Max T = 70oC unloaded, max PCLK frequency
-
-
400
mW
-
PD
GS4910B CORE_VDD = 1.8V IO_VDD = 3.3V T = 25oC unloaded, PCLK = 74.25MHz
-
250
-
mW
-
Digital I/O
Input Voltage, Logic LOW VIL VIL Input Voltage, Logic HIGH VIH VIH Output Voltage, Logic LOW Output Voltage, Logic HIGH VOL VOH 1.8V Operation 3.3V Operation 1.8V Operation 3.3V Operation current drive = HIGH or LOW as selected current drive = HIGH or LOW as selected - - 0.65 x IO_VDD 2.145 - 0.65 x IO_VDD - - - - - - 0.35 x VDD 0.8 3.6 5.25 0.4 - V V V V V V - - - - 2 2
Digital Output Currents
Timing Output Drive Current - - - - IO_VDD = 1.8V current drive = LOW IO_VDD = 3.3V current drive = LOW IO_VDD = 1.8V current drive = HIGH IO_VDD = 3.3V current drive = HIGH - - - - 5 10 7 14 - - - - mA mA mA mA - - - -
36655 - 2
April 2006
30 of 113
GS4911B/GS4910B Data Sheet
Table 2-1: DC Electrical Characteristics (Continued)
VDD = 1.8V, TA = 0C to 70C, unless otherwise specified.
Parameter
Clock Output Drive Current
Symbol
- - - -
Condition
IO_VDD = 1.8V current drive = LOW IO_VDD = 3.3V current drive = LOW IO_VDD = 1.8V current drive = HIGH IO_VDD = 3.3V current drive = HIGH - - To 1.8V or GND
Min
- - - - 1.125 - -
Typ
5 7 7 14 1.25 350 -
Max
- - - - 1.375 - 1.4
Units
mA mA mA mA V mV uA
Notes
- - - - 3 3 -
Output Voltage LVDS, Common Mode Output Voltage LVDS, Differential LVDS High-impedance Leakage Current NOTES
VOCM VODIFF -
1. All DC and AC electrical parameters within specification. 2. Assuming that the current being sourced or sinked is less than the Timing Output Drive Current specified. 3. Into a 100 termination connected between PCLK3 and PCLK3.
2.3 AC Electrical Characteristics
Table 2-2: AC Electrical Characteristics
VDD = 1.8V, TA = 0C to 70C, unless otherwise specified.
Parameter System
Reference Detection Time
Symbol
Condition
Min
Typ
Max
Units
Notes
-
from when the reference input is first present
-
2
4
frames
-
Digital I/O
PCLK Output Frequency PCLK Jitter - - - SD video standards XTAL_VDD = 3.3V - HD & Graphics video standards XTAL_VDD = 3.3V PCLK Duty Cycle - - 40 - 60 % - - 250 - ps 1, 3 3.375 - - 350 165 - MHz ps - 1, 2
36655 - 2
April 2006
31 of 113
GS4911B/GS4910B Data Sheet
Table 2-2: AC Electrical Characteristics (Continued)
VDD = 1.8V, TA = 0C to 70C, unless otherwise specified.
Parameter
PCLK1 & PCLK2 Rise/Fall Times 15pF load 20% - 80%
Symbol
- - -
Condition
IO_VDD = 1.8V current drive = LOW IO_VDD = 3.3V current drive = LOW IO_VDD = 1.8V current drive = HIGH IO_VDD = 3.3V current drive = HIGH 100 differential load 10pF to ground per pin
Min
- - -
Typ
- - -
Max
1.7 1.5 1.1
Units
ns ns ns
Notes
- - -
-
-
-
0.9
ns
-
PCLK3 Rise/Fall Time 20% - 80%
-
-
-
850
ps
-
PCLK Outputs Relative Timing Skew ACLK Frequency (GS4911B only) ACLK Duty Cycle (GS4911B only) ACLK1-3 Rise/Fall Times 15pF load 20% - 80% (GS4911B only)
- - - - - -
default PCLK phase delay of zero - - IO_VDD = 1.8V current drive = LOW IO_VDD = 3.3V current drive = LOW IO_VDD = 1.8V current drive = HIGH IO_VDD = 3.3V current drive = HIGH -
-3 0.0097 40 - - -
- - - - - -
3 49.152 60 3.0 1.5 2.5
ns MHz % ns ns ns
4 - 5 - - -
-
-
-
1.4
ns
-
ACLK Outputs Relative Timing Skew (GS4911B only) Digital Timing Output Delay Time Digital Timing Output Hold Time
-
-3
-
3
ns
4
tOD tOH
- -
- 1
- -
4.3 -
ns ns
6 6
36655 - 2
April 2006
32 of 113
GS4911B/GS4910B Data Sheet
Table 2-2: AC Electrical Characteristics (Continued)
VDD = 1.8V, TA = 0C to 70C, unless otherwise specified.
Parameter
Digital Timing Output Rise/Fall Times 15pF load 20% - 80%
Symbol
- - -
Condition
IO_VDD = 1.8V current drive = LOW IO_VDD = 3.3V current drive = LOW IO_VDD = 1.8V current drive = HIGH IO_VDD = 3.3V current drive = HIGH
Min
- - -
Typ
- - -
Max
3.0 1.5 2.5
Units
ns ns ns
Notes
- - -
-
-
-
1.4
ns
-
GSPI
GSPI Input Clock Frequency GSPI Clock Duty Cycle GSPI Input Setup Time GSPI Input Hold Time NOTES 1. The video output clock may be directly connected to Gennum's GS1532 or GS1531 serializer for a SMPTE-compliant SDI or HD-SDI output with output jitter below 0.2UI, when the serializer is configured for a loop bandwidth of 100KHz. 2. All SD standards EXCEPT VID_STD[5:0] = 1 (450ps typ.) and VID_STD[5:0] = 5 or 6 (500ps typ.) 3. All HD and Graphics standards EXCEPT VID_STD[5:0] = 22 (300ps typ.) and VID_STD[5:0] = 41-43 (400ps typ.) 4. Timings from any CLK output to any other CLK output. 5. If fs=96kHz and ACLK is configured to output a clock signal at 192fs or 384fs, a 512fs clock will typically have a 33% duty cycle distortion. See Section 3.7.2 on page 63. 6. With PCLK phasing delay set to nominal (zero offset), each increment of the clock phasing adjustment decreases output hold time and delay time by a nominal 700ps. The times tOD and tOH are defined in Figure 2-1. 7. For detailed GSPI timing parameters, please refer to Table 3-12. fGSPI DCGSPI t3 in Figure 3-18 t8 in Figure 3-18 - - - - - 40 1.5 1.5 - - - - 10.0 60 - - MHz % ns ns 7 7 7 7
36655 - 2
April 2006
33 of 113
GS4911B/GS4910B Data Sheet
tOH tOD
PCLK
50%
VOH
TIMING_OUT
VOH VOL
VOL
Figure 2-1: PCLK to TIMING_OUT Signal Output Timing
Table 2-3: Suggested External Crystal Specification
27.000000 MHz AT Cut Nominal Dissipation = 50 uW Frequency accuracy at 25C = +/- 10ppm Frequency variation 0-70C = +/- 10ppm ASR = 50 +/- 20 NOTE: The user may select an appropriate crystal accuracy for their application. If the device is operating in Free Run mode, the output clock and timing signals will have the same accuracy as the crystal. However, if operating in Genlock mode, all output signals are based on the input reference, and therefore a less accurate crystal may be sufficient. See Section 3.2 on page 36.
36655 - 2
April 2006
34 of 113
GS4911B/GS4910B Data Sheet
2.4 Solder Reflow Profiles
The device is manufactured with Matte-Sn terminations and is compatible with both standard eutectic and Pb-free solder reflow profiles. MSL qualification was performed using the maximum Pb-free reflow profile shown in Figure 2-2. The recommended standard Pb reflow profile is shown in Figure 2-3.
Temperature 60-150 sec.
20-40 sec. 260C 250C 3C/sec max 217C 6C/sec max
200C
150C
25C
Time 60-180 sec. max 8 min. max
Figure 2-2: Maximum Pb-free Solder Reflow Profile (preferred)
Temperature
60-150 sec.
10-20 sec. 230C 220C 3C/sec max 183C 6C/sec max 150C
100C
25C Time 120 sec. max 6 min. max
Figure 2-3: Standard Pb Solder Reflow Profile
36655 - 2
April 2006
35 of 113
GS4911B/GS4910B Data Sheet
3. Detailed Description
3.1 Functional Overview
The GS4911B/GS4910B is a highly flexible, digitally controlled clock synthesis circuit and timing generator with genlock capability. The device has two main modes of operation: Genlock mode and Free Run mode. In Genlock mode, the video clock and timing outputs, will be frequency and phase locked to the detected reference input signal. In Free Run mode, the occurrence of all frequencies is based on a 27MHz external crystal reference. The GS4911B/GS4910B will recognize input reference signals conforming to 36 different video standards and 16 different graphic formats. It supports cross-locking, allowing the output to be genlocked to an incoming reference that is different from the output video standard selected. When the device is in Genlock mode and the input reference is removed, the GS4911B/GS4910B will enter Freeze mode. In this mode, the output clock and timing signals will maintain their previously genlocked phase and frequency to within +/- 2ppm. The user may select to output one of 8 different video sample clock rates or 13 different graphic display clock rates, or may program any clock frequency between 13.5MHz and 165MHz. The chosen clock frequency may be further internally divided, and is available on two video clock outputs and one LVDS video clock output pair. The video clocks may also be individually phase delayed with respect to the timing outputs for clock skew control. Eight user-selectable timing outputs are provided that can automatically produce the following timing signals for 35 different video formats and 13 different graphics formats: HSync, Hblanking, VSync, Vblanking, F sync, F digital, AFS (GS4911B only), DE, and 10FID. Alternatively, custom output timing signals may be programmed in the host interface. In addition, the GS4911B provides three audio sample clock outputs that can produce audio clocks up to 512fs with fs ranging from 9.7kHz to 96kHz. Audio to video phasing is accomplished by either an external 10FID input reference, a 10FID signal specified via internal registers, or a user-programmed audio frame sequence.
3.2 Modes of Operation
The GS4911B/GS4910B will operate in either Genlock mode or Free Run mode depending on the setting of the GENLOCK pin. These two modes are described in Section 3.2.1 on page 37 and Section 3.2.2 on page 40 respectively. If desired, the external GENLOCK pin may be ignored by setting bit 5 of the Genlock_Control register (address 16h) so that genlock can instead be controlled via the host interface (see Section 3.12.3 on page 79). Although the external GENLOCK pin will be ignored in this case, it should not be left floating.
36655 - 2 April 2006 36 of 113
GS4911B/GS4910B Data Sheet
3.2.1 Genlock Mode
When the application layer sets the GENLOCK pin LOW and the device has successfully genlocked the outputs to the input reference, the GS4911B/GS4910B will enter Genlock mode. In this mode, all clock and timing generator outputs will be frequency and phase locked to the detected input reference signal. The PCLK outputs will be locked to the H reference. When in Genlock mode, the output clock and timing signals are generated using the applied reference signal. The 27MHz crystal reference is necessary for operation; however, neither crystal accuracy nor changes in crystal frequency (due to a shift in operating temperature) will affect the output signals. For example, the output signals will be generated with the same accuracy whether the 27MHz reference crystal has an accuracy of 10ppm or 100ppm. The GS4911B/GS4910B supports cross-locking, allowing the outputs to be genlocked to an incoming reference that is different from the output video standard selected (see Section 3.6 on page 50). NOTE: The user must apply a reference to the input of the device prior to setting GENLOCK = LOW. If the GENLOCK pin is set LOW and no reference signal is present, the generated clock and timing outputs of the device may correspond to the internal default settings of the chip until a reference is applied. 3.2.1.1 Genlock Timing Offset By default, the phase of the clock and timing out signals is genlocked to the input reference signal. These output signals may be phase adjusted with respect to the input reference by programming the host interface (see Section 3.12.3 on page 79). Offsets are separately programmable in terms of clock phase, horizontal phase, and vertical phase (i.e. fractions of a pixel, pixels, and lines). Genlock timing offsets can be used to co-time the output of a piece of equipment containing the GS4911B/GS4910B with the outputs of other equipment at different locations. The signal leaving the piece of equipment containing the GS4911B/GS4910B may pass through processing equipment with significant fixed delays before arriving at the switcher. These delays may include video line delays or even field delays. To compensate for these delays, genlock timing offsets allow the user to back-time the output of the equipment relative to the input reference. Using the host interface, the following registers may be programmed once the device is stably locked: * Clock_Phase_Offset (1Dh) - with a range of zero to one clock pulse in increments of between 1/64 and 1/512 of a clock period (depending on the PCLK frequency). The increments will be between 100ps and 200ps. All clock and timing output signals will be delayed by the clock phase offset programmed in this register. H_Offset (1Bh) - the difference between the reference HSYNC signal and the output H Sync and/or H Blanking signal in clock pulses, with a control range of zero to +1 line. All timing output signals will be delayed by the horizontal offset programmed in this register.
April 2006 37 of 113
*
36655 - 2
GS4911B/GS4910B Data Sheet * V_Offset (1Ch) - the difference between the reference VSYNC signal and the output V Sync and/or V Blanking in lines, with a control range of zero to +1 frame. All line-based timing output signals will be delayed by the vertical offset programmed in this register.
The encoding scheme for the Clock_Phase_Offset register (1Dh) is shown in Table 3-1. The offset programmed will be in the positive direction. Note that the step size will depend on the frequency of the output video clock. NOTE: If VID_STD[5:0] = 63 and the reference format is changed, care must be taken to ensure that the Clock_Phase_Offset register is correctly programmed for the new output format before the reference is applied.
Table 3-1: Clock_Phase_Offset[15:0] Encoding Scheme VID_STD[5:0] Setting Output Video Clock Frequency Step Size (Fraction of a PCLK) 1 -------512 1-------256 1-------128 1----64 Maximum Number of Steps Bits Required to Set the Number of Steps Clock_Phase_Offset [15:0] Settings
1
fPCLK < 20MHz
511
b 8b 7b6b5 b4b3b2 b1b0
b8000001b8b7b6b5b4b3b2b1b0
3-6, 39-42
20MHz < fPCLK < 40MHz
255
b 7b6 b5b4b3 b2b1b0
b7000010b7b6b5b40b3b2b1b0
7-20, 25-38, 43-46
40MHz < fPCLK < 80MHz
127
b 6b5b4 b3b2b1 b0
b6000100b6b5b400b3b2b1b0
21-23, 47-51
fPCLK > 80MHz
63
b5 b4b3b2 b1b0
b5001000b5b4000b3b2b1b0
Note: Program Clock_Phase_Offset = 0000 0000 0000 0000b to achieve a zero clock phase offset.
The value programmed in the H_Offset register (1Bh) must not exceed the maximum number of clock periods per line of the outgoing video standard. Similarly, the value programmed in the V_Offset register (1Ch) must not exceed the maximum number of lines per frame of the outgoing standard. Both horizontal and vertical offsets will be in the positive direction. Negative offsets (advances) are achieved by programming a value in the appropriate register equal to the maximum allowable offset minus the desired advance. NOTES: 1. The device will delay all output timing signals by 2 PCLKs relative to the input HSYNC reference. This will occur even when the H_Offset register is not programmed. The user may compensate for this delay by subtracting 2 PCLK cycles from the desired horizontal offset before loading the value into the host interface.
36655 - 2
April 2006
38 of 113
GS4911B/GS4910B Data Sheet 2. For both sync and blanking-based input references, the device will advance all line-based output timing signals by 1 line relative to the input VSYNC reference for all output standards except VID_STD[5:0] = 4, 6, and 8. This will occur even when the V_Offset register is not programmed. The user may compensate for this advance by adding 1 line to the desired vertical offset before loading this value into the register. 3. When locking the "f/1.001" HD output standards to the 525-line SD input reference standards, or vice versa, the device will delay all line-based output timing signals by VSync lines relative to the input VSYNC reference. This will occur even when the V_Offset register is not programmed. The user may compensate for this delay by subtracting VSync lines from the desired vertical offset before loading this value into the register. The value VSync is given by the equation:
VSync = HSYNC_IN_Period + VSYNC _HSYNC - ( 2 x HSYNC_OUT_Period )
where: HSYNC_IN_Period = the period of the H reference pulse VSYNC_HSYNC = the time difference between the leading edges of the applied V and H reference pulses Hsync_OUT_Period = the period of the generated H Sync output See Figure 3-1. H_Feedback_Divide represents the numerator of the ratio of the output clock frequency to the frequency of the H reference pulse. It is calculated as described in Section 3.6.2.1 on page 54.
HSYNC_IN_Period HSYNC
VSYNC
VSYNC_HSYNC
HSync_OUT_Period H Sync
V Sync VSync
Figure 3-1: HD-SD Calculation
36655 - 2
April 2006
39 of 113
GS4911B/GS4910B Data Sheet 4. For sync-based input references, the device will advance all line-based output timing signals by 1 line if the value programmed in the H_Offset register is greater than 20. The user may compensate for this advance by adding 1 line to the desired vertical offset before loading this value into the register. In addition, the internal V_lock and F_lock signals reported in bits 3 and 4 of register 16h will be LOW when H_Offset = 21 only, although the device will remained genlocked. The user may choose to mask these lock signals such that the device will continue to report genlock under this condition. 5. For blanking-based input references, the device will advance all line-based output timing signals by 1 line if the value programmed in the H_Offset register is greater than the number of output video clock cycles from the start of H Sync to the end of active video (Hsync_to_EAV) + 20. The value of Hsync_to_EAV is reported in register 51h and changes according to the output VID_STD selected. The user may compensate for this advance by adding 1 line to the desired vertical offset before loading this value into the register. In addition, the internal V_lock and F_lock signals reported in bits 3 and 4 of register 16h will be LOW when H_Offset = Hsync_to_EAV + 21 only, although the device will remained genlocked. The user may choose to mask these lock signals such that the device will continue to report genlock under this condition. 6. The offsets that occur as described in notes 1-5 are independent of one another and must be accounted for as such. 3.2.1.2 Freeze Mode When the device is in Genlock mode and the input reference is removed, the GS4911B/GS4910B will enter Freeze mode. The behaviour of the device during loss and re-acquisition of an input reference signal is described in Section 3.5.3 on page 47. In Freeze mode, the frequency of the output clock and timing signals will be maintained to within +/- 2ppm. This assumes a loop bandwidth of 10Hz. Also, if the frequency of the 27MHz reference crystal shifts while in Freeze mode, the frequency of the output clock and timing signals will shift as well.
3.2.2 Free Run Mode
The GS4911B/GS4910B will enter Free Run mode when the GENLOCK pin is set HIGH by the application layer. In this mode, the occurrence of all frequencies is based on the external 27MHz reference input. Therefore, the frequency of the output clock and timing signals will have the same accuracy as the crystal reference. If operating in Free Run mode, using a more accurate crystal (e.g. 10ppm) ensures more accurate clock and timing signals are generated. NOTE: In Free Run mode, the audio clocks of the GS4911B will remain genlocked to the video clock.
36655 - 2
April 2006
40 of 113
GS4911B/GS4910B Data Sheet Figure 3-2 summarizes the differences in output accuracy in each mode of operation. Assuming a crystal reference of +/-100ppm, in Free Run mode the frequency of the output clock and timing signals will be as accurate as the crystal. In Genlock mode the frequency will be as accurate as the input reference regardless of the crystal accuracy. In Freeze mode, the frequency of the output clock and timing signals will be maintained to within +/- 2ppm.
Assumption: Reference XTAL is 27MHz+/-100ppm
+t t +100ppm +t 74.25 MHz +2ppm -2ppm -t -100ppm -t
Free Run
No Input Reference
Genlock
Reference Applied
Freeze
Time Reference Lost
NOTES: 1. t represents the temperature variability of the crystal 2. Diagram not to scale.
Figure 3-2: Output Accuracy and Modes of Operation
36655 - 2
April 2006
41 of 113
GS4911B/GS4910B Data Sheet
3.3 Output Timing Format Selection
At device power-up (described in Section 3.14 on page 106), the application layer should immediately set the external VID_STD[5:0] and ASR_SEL[2:0] pins. The VID_STD[5:0] pins are used to select a pre-programmed output video format, or to indicate that custom timing parameters will be programmed in the host interface. The ASR_SEL[2:0] pins are only available on the GS4911B, and are used to select the fundamental audio frequency or to turn off audio clock generation. The output timing formats selectable by the user via the VID_STD[5:0] pins are listed in Section 1.4 on page 20. Table 3-7 in Section 3.7.2 on page 63 lists the audio sample rates available via the ASR_SEL[2:0] pins. If the user sets VID_STD[5:0] =1-51 on power-up, the device will first check the status of the GENLOCK pin. If GENLOCK is set LOW and a valid reference has been applied to the inputs, the device will output the selected video standard while attempting to genlock. However, if a reference signal has not been applied and GENLOCK=LOW, the initial clock and timing outputs may be determined by the internal default settings of the chip. If GENLOCK is set HIGH, the device will immediately enter Free Run mode and will correctly output the selected video standard. If the user sets VID_STD[5:0] = 62 on power-up, the device will be configured to generate custom output timing signals. The initial output timing signals will be equal to the internal default timing of the chip until the user programs registers 4Eh to 55h of the host interface (see Section 3.10 on page 74). Additionally, the output video clock will run at a frequency determined by the internal default settings of the chip until the user modifies it via registers 20h to 23h (see Section 3.9.1 on page 72). If the user sets VID_STD[5:0] = 63 on power-up, the device will wait until a valid reference has been applied, at which time it will output the same video format as the input reference and enter Genlock mode if GENLOCK = LOW. When operating in Free Run or Genlock mode, the GS4911B/GS4910B will continuously monitor the settings of the VID_STD[5:0] and ASR_SEL[2:0] pins. If the user wishes to change the format of the output clocks and timing signals, these pins may be reconfigured at any time, although it is recommended that the device be reset when changing output video standards.
36655 - 2
April 2006
42 of 113
GS4911B/GS4910B Data Sheet
3.4 Input Reference Signals
The HSYNC, VSYNC, FSYNC, and 10FID reference signals are applied to the GS4911B/GS4910B via the designated input pins. To operate in Genlock mode, the input reference signals must be valid and must conform to a recognized video or graphics standard (see Section 3.5 on page 45). Alternatively, if VID_STD[5:0] = 62, the signal applied to the HSYNC input must be stable and have a period of less than 2.4ms. In Free Run mode, no input reference is required. Section 3.4.1 on page 43 describes the HSYNC, VSYNC and FSYNC input timing. The 10FID input signal is discussed in Section 3.4.2 on page 44.
3.4.1 HSYNC, VSYNC, and FSYNC
Timing for Video Formats The HSYNC, VSYNC, and FSYNC input reference signals may have analog timing, such as from Gennum's GS4981/82 sync separators (Figure 3-3), or may have digital timing, such as from Gennum's GS1559/60A/61 deserializers (Figure 3-4). Section 1.4 on page 20 lists the 36 pre-programmed video timing formats recognized by the GS4911B/GS4910B. If the input reference format does not include an F sync signal, the FSYNC pin should be held LOW.
HSYNC VSYNC
FSYNC
Figure 3-3: Example HSYNC, VSYNC, and FSYNC Analog Input Timing from a Sync Separator
PCLK LUMA DATA OUT CHROMA DATA OUT H V F 3FF 3FF 000 000 000 000 XYZ (eav) XYZ (eav) 3FF 3FF 000 000 000 000 XYZ (sav) XYZ (sav)
H:V:F TIMING - HD 20-BIT OUTPUT MODE
H Signal Timing Typical H Timing Alternative H Timing
Figure 3-4: Example H Blanking, V Blanking, and F Digital Input Timing from an SDI Deserializer
36655 - 2
April 2006
43 of 113
GS4911B/GS4910B Data Sheet Timing for Graphics Formats The GS4911B/GS4910B is pre-programmed to recognize the timing for 16 different graphics formats presented to the input reference pins. These graphic formats are described in Section 1.4 on page 20. The supported graphics standards are all progressive, and do not use the FSYNC signal. Therefore, FSYNC should be held LOW by the application layer. The VESA formats supported have a 0.5% frequency tolerance. VSYNC transitions are typically co-timed with the leading edge of HSYNC. The duration and polarity of these signals for each format is listed in Table 1-2. NOTE: The user must ensure that the input HSYNC polarity for VID_STD [5:0] = 47 and 49 - 54 be active LOW.
3.4.2 10FID
The 10FID input is a reset pin, which can be used to reset the divider for the 10FID output signal. In the GS4911B, the 10FID input pin will also reset the divider for the AFS output signal. This default setting may be modified using the Audio_Control register of the host interface (see Section 3.12.3 on page 79). The GS4911B will reset the phase of the audio clocks to the leading edge of the H Sync output on line 1 of every output frame in which the 10FID input is HIGH. This enables the user to reset the phase of the dividers when generating custom signals via the host interface (see Section 3.7.2.1 on page 65). If the input reference format does not include a 10 Field ID signal, the external 10FID input pin should be held LOW. The timing of the 10FID input signal is shown in Figure 3-5.
Total Line
10FID Input Line 1, Frame 1 every 'n' frames Horizontal Sync Input
Line 1 every n frames where: n = 5 @ 29.97 fps, 30 fps n = 10 @ 59.94 fps, 60 fps
Figure 3-5: 10FID Input Timing
36655 - 2
April 2006
44 of 113
GS4911B/GS4910B Data Sheet
3.4.3 Automatic Polarity Recognition
To accommodate any standards that employ the polarity of the H and V sync signals to indicate the format of the display, the GS4911B/GS4910B will recognize H and V sync polarity and automatically synchronize to the leading edge. The polarities of the HSYNC and VSYNC signals are reported in bits 3 and 4 of the Video_Status register. Additionally, bit 2 of this register reports the detection of either analog or digital input timing. See Section 3.12.3 on page 79 for detailed register descriptions.
3.5 Reference Format Detector
The reference format detector checks the validity and analyzes the format of the input reference signal. It is designed to accurately differentiate between 59.94 and 60Hz frame rates.
3.5.1 Horizontal and Vertical Timing Characteristic Measurements
When a reference signal is applied to the designated input pins, the GS4911B/GS4910B will analyse the signal and report the following in registers 0Ah to 0Eh of the host interface: * * * * * the number of 27MHz clock pulses between leading edges of the H input reference signal (H_Period register) the number of 27MHz clock pulses in 16 horizontal periods (H_16_Period register) the number of H reference pulses between leading edges of the V input reference signal (V_Lines register) the number of H reference pulses in two vertical periods (V_2_Lines register) the number of H reference pulses in one F period (F_Lines register)
These parameters may be read via the host interface and are used by the device to determine reference signal validity.
3.5.2 Input Reference Validity
Before the device attempts to operate in Genlock mode, the input signals applied to HSYNC and VSYNC must be valid and must conform to one of the 36 recognized video standards or 16 recognized graphics standards described in Section 1.4 on page 20. Alternatively, if VID_STD[5:0] = 62, the device may be manually programmed to genlock to a reference that is neither valid nor recognized (see Section 3.10.1 on page 74). For an input reference signal to be considered valid, the periodicity of HSYNC must be between 9us and 70us, and the periodicity of VSYNC must be between 8ms and 50ms. The FSYNC signal is not essential for validity. For output video standards other than VID_STD[5:0] = 62, the REF_LOST pin will be set LOW once the input reference signal is considered valid.
36655 - 2
April 2006
45 of 113
GS4911B/GS4910B Data Sheet If the input signal is valid, the device then compares the timing parameters of the input reference signal to each of the 36 video and 16 graphics standards listed in Table 1-2, and determines if the input reference is one of the recognized standards. If it is, the VID_STD[5:0] value for the format is written to the Input_Standard register at address 0Fh of the host interface. If the input signal is invalid, or if the reference format is unrecognized, 00h is programmed in this register. Once a reference signal is valid and recognized by the device, VSYNC and FSYNC will no longer be monitored. Loss of signal on these pins will not affect the operation of the device. If VID_STD[5:0] is not set to 62 and the REF_LOST pin is HIGH, or if the input signal is valid, but unrecognized as one of the 36 video or 16 graphics formats, the GENLOCK pin should not be set LOW. If VID_STD[5:0] = 62, the REF_LOST output will reflect the presence of a stable signal with a period of less than 2.4ms on the HSYNC input pin. This allows the user to program the device to lock to a single input reference only The REF_LOST output pin may also be read via bit 0 of the Genlock_Status register (see Section 3.12.3 on page 79). 3.5.2.1 Ambiguous Standard Selection There are some standards with identical H, V, and F timing parameters, such that the GS4911B/GS4910B's reference format detector cannot distinguish between them. Table 3-2 groups standards with shared H, V, and F periods. Using the Amb_Std_Sel register at address 10h of the host interface, the user may select their choice of standard to be identified with a particular set of measurements. For example, to have 1716 clocks of 27MHz per line with 525 lines per frame identified as 4fsc 525, program Amb_Std_Sel[10:0] = XXX10XXXXXX, where `X' signifies `don't care'.
36655 - 2
April 2006
46 of 113
GS4911B/GS4910B Data Sheet
Table 3-2: Ambiguous Standard Identification Number Standard H (27MHz Clocks)
800 800 800 800.8 800.8 800.8 960 960 1716 1716 1716 1716 1728 1728 1728 1728 857.14 858
16_H (27MHz Clocks)
12800 12800 12800 12813 12813 12813 15360 15360 27456 27456 27456 27456 27648 27648 27648 27648 13714 13728
V (lines)
F (lines)
Amb_Std_Sel[10:0]
1
1920x1080/60/2:1 interlace 1920x1080/30/PsF 1920x1035/60/2:1 interlace
562.5 562.5 562.5 562.5 562.5 562.5 562.4 562.4 262.5 262.5 262.5 262.5 312.5 312.5 312.5 312.5 525 525
1125 1125 1125 1125 1125 1125 1125 1125 525 525 525 525 625 625 625 625 525 525
XXXXXXXXX00 XXXXXXXXX01 XXXXXXXXX10 XXXXXXX00XX XXXXXXX01XX XXXXXXX10XX XXXXX00XXXX XXXXX01XXXX XXX00XXXXXX XXX01XXXXXX XXX10XXXXXX XXX11XXXXXX X00XXXXXXXX X01XXXXXXXX X10XXXXXXXX X11XXXXXXXX 0XXXXXXXXXX 1XXXXXXXXXX
2
1920x1080/59.94/2:1 interlace 1920x1080/29.97/PsF 1920x1035/59.94/2:1 interlace
3
1920x1080/50/2:1 interlace 1920x1080/25/PsF
4
601 525 / 2:1 interlace 720x486/59.94/2:1 interlace 4fsc 525 / 2:1 interlace 601 - 18MHz 525/2:1 interlace
5
601 625 / 2:1 interlace 720x576/50/2:1 interlace Composite PAL 625/2:1/25 601 - 18MHz 625/2:1 interlace
6
640 x 480 VGA @ 60Hz 720x483/59.94/1:1 progressive
NOTE: `X' signifies `don't care.' The X bit will be ignored when determining which standard to select in each of the 6 groups above.
3.5.3 Behaviour on Loss and Re-acquisition of the Reference Signal
By default, the GS4911B/GS4910B will ignore one missing H pulse on the HSYNC pin and will continue to operate in Genlock mode (although the LOCK_LOST pin will temporarily be set HIGH). This behaviour is controlled by the Run_Window bits of register address 24h. If there are two consecutive missing H pulses on the HSYNC input pin, the REF_LOST and LOCK_LOST pins will both go HIGH and the device will enter Freeze mode. An internal flywheel ensures the selected output clock and timing signals maintain their previous phase and frequency and continue to operate without glitches. The VSYNC and FSYNC signals are not monitored in Genlock mode; loss of signal on these pins will not affect the operation of the device. NOTE 1: If the input reference is removed and re-applied, all line-based timing outputs will be inaccurate for up to one frame for all output standards.
36655 - 2
April 2006
47 of 113
GS4911B/GS4910B Data Sheet NOTE 2: When locking the "f/1.001" HD output standards to the SD input reference standards 3, 5, 7, or 9, or vice versa, there may be a random phase difference between the input VSYNC and output V Sync signals occuring each time the input reference is removed and re-applied. This will affect all line-based timing outputs. For cases where the user must manually video genlock the device, the problem will occur whenever the value programmed for H_Reference_Divide (registers 2B-2Ah) is greater than 1. The user may reset the line-based counters after the reference is re-applied without disrupting the pixel or audio clocks by toggling bit 15 of register address 83h in the host interface. This will cause the input VSYNC and line-based timing output signals to take on their default timing relationship, as described in Note 3 of Section 3.2.1.1 on page 37. Re-acquisition of the Same Reference Upon re-application of the reference signal, the device checks whether the reference has drifted more than +/- 2us from its expected location by comparing the current relative position of the H pulses with the previous position, over a 16-line interval. If the reference returns with the H pulses in the expected location +/- 2us, the PLL will drift lock and the clock generator will continue to operate without a glitch. The REF_LOST and LOCK_LOST pins will be set back LOW. If the reference returns with the H pulses outside the +/- 2us window, the device will crash lock the output timing to the new input phase. The principles of crash lock and drift lock are described in Section 3.6.3 on page 58. NOTE: To resume proper genlock operation upon re-application of the reference signal, the user must implement the following register manipulation every time the reference is removed and re-applied: 1. Read the value contained in register address 24h 2. Clear the Run_Window bits [2:0] of register 24h 3. Re-write the value read in step 1 to register address 24h. This procedure will force the device to lock to the reference as described above, but will maintain the flywheeling capability of the GS4911B/GS4910B should a single missing H pulse occur in the genlocked state. To avoid the above procedure, the user may choose to clear the Run_Window bits [2:0] of register address 24h upon power-up or reset. However, this will disable the flywheeling feature of the device that allows it to maintain genlock through one missing input H pulse.
36655 - 2
April 2006
48 of 113
GS4911B/GS4910B Data Sheet Acquisition of a New Reference When a new reference is applied, the device continues to operate in Freeze mode while the reference format detector checks for validity as described in Section 3.5.2 on page 45. Once validity is detected, the REF_LOST pin is set LOW. Assuming GENLOCK is LOW, the device will then attempt to genlock the selected output clock and timing signals to the new input reference. If the output can be automatically genlocked to the new input reference, LOCK_LOST will go LOW and the device will re-enter Genlock mode. Otherwise, the LOCK_LOST pin will remain HIGH and the device will enter Free Run mode. If VID_STD[5:0] = 63 when the new reference is applied, the device will send the detected timing parameters to the clock synthesis and timing generator blocks. The new output format will start being generated during the first reference V period after the reference format has been reliably established. The LOCK_LOST pin will go LOW and the device will re-enter Genlock mode.
3.5.4 Allowable Frequency Drift on the Reference
By default, the frequency of the reference H pulse on HSYNC may drift from its expected value by approximately +/- 0.2% before the internal video PLL loses lock. This tolerance may be adjusted using the Max_Ref_Delta register at address 1Eh of the host interface. The encoding scheme is shown in Table 3-3. The default value of the register is Bh. NOTE: Regardless of the setting of this register, the device will always differentiate between 59.94Hz and 60Hz reference standards.
Table 3-3: Max_Ref_Delta Encoding Scheme Register Setting
0h 1h 2h 3h 4h 5h 6h 7h
Maximum Allowable Frequency Drift
+/- 2 -20 +/- 2 -19 +/- 2 -18 +/- 2 -17 +/- 2 -16 +/- 2 -15 +/- 2 -14 +/- 2 -13
Register Setting
8h 9h Ah Bh Ch Dh Eh Fh
Maximum Allowable Frequency Drift
+/- 2 -12 +/- 2 -11 +/- 2 -10 +/- 2 -9 +/- 2 -8 +/- 2 -7 +/- 2 -6 +/- 2 -5
The maximum allowable frequency drift is measured as a fraction of the frequency of the reference H pulse.
36655 - 2
April 2006
49 of 113
GS4911B/GS4910B Data Sheet
3.6 Genlock
When both the REF_LOST output and the GENLOCK input are LOW, the device will attempt to genlock the output clock and timing signals to the input reference. NOTE: The user must apply a reference to the input of the device prior to setting GENLOCK = LOW. If the GENLOCK pin is set LOW and no reference signal is present, the generated clock and timing outputs of the device may correspond to the internal default settings of the chip until a reference is applied. The device will first attempt to automatically genlock the output to the input reference. This automatic locking process is described in Section 3.6.1 on page 50. If the output format selected is such that it is not commonly genlocked to the input reference, the GS4911B/GS4910B will not automatically lock. In this case, the user may program designated registers to manually allow locking to occur. The manual locking process is described in Section 3.6.2 on page 54. The user may disable one or more of the recognized input standards from being used to genlock the output by setting the Reference_Standard_Disable register located at address 11h - 14h of the host interface. If a reference is applied that is disabled in the Reference_Standard_Disable register, both the automatic and manual locking process will fail when the application layer sets GENLOCK = LOW. NOTE: If the device is already genlocked to an input reference and the applied standard is subsequently disabled in the Reference_Standard_Disable register, the device will remain locked.
3.6.1 Automatic Locking Process
The behaviour of the device when attempting to automatically genlock will depend on the status and format of the input reference with respect to the selected output format. VID_STD[5:0] = 1 to 51: Once reference validity is established and the reference format is recognized, the device uses an internal cross-reference genlock look-up table to determine whether the input can be used to genlock the output. A simplified version of this look-up table is shown in Table 3-4. The table represents a matrix with the VID_STD[5:0] number representation of each possible reference format along the top axis, and the VID_STD[5:0] representation of each possible output timing format along the vertical axis. A shaded box indicates that the output format can be automatically genlocked to the input reference. If the device determines that the output can be automatically genlocked to the input reference, it will lock the output format to the reference, adjust the output timing signals based on the genlock timing offset registers (Section 3.2.1.1 on page 37), and then set the LOCK_LOST pin LOW.
36655 - 2
April 2006
50 of 113
GS4911B/GS4910B Data Sheet If the device cannot automatically genlock the output to the applied reference, the LOCK_LOST pin will be set HIGH and the device will operate in Free Run mode. In this case, the user may program designated registers to manually allow locking to occur (Section 3.6.2 on page 54). Individual H, V, and F-locked signals can be read from the Genlock_Status register of the host interface. Additionally, designated bits in the Genlock_Control register may be configured to permit the genlock block to ignore invalid timing on the HSYNC, VSYNC, or FSYNC pin when determining the locked status of the device. These registers are described in Section 3.12.3 on page 79. NOTE: When attempting to lock some output graphics standards to an input reference, the device will automatically modify the output frame rate from the VESA standard to permit cross-locking to occur. The exact change will depend on the output standard selected and the input reference detected. Standards affected by this behaviour are denoted by an 'a' or a 'b' suffix in Table 3-4. VID_STD[5:0] = 62: Setting VID_STD[5:0]=62 allows custom timing signals to be programmed in the host register (see Section 3.10 on page 74). It has the additional feature of disabling the validity check of the input reference signal. The device will automatically attempt to genlock the custom output to the input using the same process that is used when VID_STD[5:0] = 1 to 51. The user must manually program the internal genlock block if a custom H-based timing output signal is programmed or if a custom reference pulse is applied to HSYNC. VID_STD[5:0] = 63: When VID_STD[5:0]=63, the device will send the detected input reference timing parameters to the clock synthesis and timing generator blocks. The device will produce an output format with identical timing to the input reference. It will then lock the output format to the reference, adjust the output timing parameters based on the genlock timing offset registers (Section 3.2.1.1 on page 37), and set the LOCK_LOST pin LOW.
36655 - 2
April 2006
51 of 113
GS4911B/GS4910B Data Sheet
Table 3-4: Cross-reference Genlock Table
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
Input Reference Format 1 2 3 4 5
1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 Continued on next page...
36655 - 2
April 2006
52 of 113
GS4911B/GS4910B Data Sheet
Table 3-4: Cross-reference Genlock Table (Continued)
21 22 23 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 39a 42a 45a 46a 49a 50a 39b 40b 42b 43b 45b 46b 49b 50b 51b NOTES: Suffix a numbers are modified from the VESA standard to have exact 60Hz, 75Hz, or 85Hz frame rates. Suffix b numbers are modified from the VESA standard to have 60/1.001Hz, 75/1.001Hz, or 85/1.001Hz frame rates.
Input Reference Format 1 2 3 4 5
A shaded box indicates that the selected output format can be automatically genlocked to the input reference.
36655 - 2
April 2006
53 of 113
GS4911B/GS4910B Data Sheet
3.6.2 Manual Locking Process
Using the host interface, the GS4911B/GS4910B may be manually programmed to genlock certain video formats and audio clocks that are not automatically genlocked by the device. The following sections discuss when the user should manually program the internal video and/or audio genlock block, and how these blocks are programmed. 3.6.2.1 Programming the Internal Video Genlock Block and Output Line/Frame Reset Registers The user will be required to manually program the internal video genlock block and output line/frame reset registers during any of the following situations: 1. The pre-programmed output format and input reference cannot be automatically genlocked according to the cross-reference genlock table (Table 3-4 in Section 3.6.1 on page 50). 2. A custom video clock is programmed in the host interface (Section 3.9.1 on page 72). 3. VID_STD[5:0] = 62 and a custom H-based timing output signal is programmed (see Section 3.10 on page 74). 4. VID_STD[5:0] = 62 and a custom reference pulse is applied to HSYNC (see Section 3.10.1 on page 74). Video Genlock Block Host Registers A simplified version of the GS4911B/GS4910B's internal video genlock block is shown in Figure 3-6.
27MHz
Internal Video Genlock Block Output Video Clock
HSYNC
H_Reference_Divide
(host address 2Ah - 2Bh)
(fHref (
Phase Comparator
Clock Synthesizer
(fout (
H_Feedback_Divide
(host address 28h - 29h)
Figure 3-6: Internal Video Genlock Block
To genlock the output clock and video timing signals to the input format, the user must first lock the frequency of the output video clock (fout) to the frequency of the reference pulse on HSYNC (fHref). This is accomplished by programming the set of integers (H_Feedback_Divide, H_Reference_Divide) in the equation:
f out H_Feedback_Divide ------------------------------------------------- = ---------H_Reference_Divide f Href
36655 - 2
April 2006
54 of 113
GS4911B/GS4910B Data Sheet where: fout = output video clock frequency fHref = reference H pulse frequency on HSYNC H_Feedback_Divide = numerator of the divide ratio (host register 28h-29h) H_Reference_Divide = denominator of the divide ratio (host register 2Ah-2Bh) Before programming H_Feedback_Divide and H_Reference_Divide, the numerator and denominator must be reduced to their lowest factors. For example, to manually genlock an output format with a 74.25MHz video clock to a reference with a 27MHz video clock and 1716 clocks per line, the following calculations are necessary:
27 f Href = ----------- MHz 1716 H_Feedback_Divide 1716 127413 - ------------------------- ----------------------------------------------------------- = 74.25MHz = 74.25 x ----------- = ----------------- = 4719 H_Reference_Divide 27 27 27 1 ----------- MHz 1716
Therefore, program H_Feedback_Divide = 4719 and H_Reference_Divide = 1. Output Line/Frame Reset Host Registers In addition to programming H_Feedback_Divide and H_Reference_Divide, the user must also define the ratio of the output frame rate to the reference frame rate. The denominator of this ratio is programmed in the Output_FV_Reset register at address 18h of the host interface. Before Output_FV_Reset is programmed, the numerator and denominator must be reduced to their lowest factors. Two examples are demonstrated below: Example 1: the reference has a frame rate of 30Hz and the output frame rate is 50Hz:
Output Frame Rate = 50 = 5 ----- ----------------------------------------------30 3 Input Frame Rate
Therefore, program Output_FV_Reset = 3. The numerator does not have to be programmed. Example 2: the reference has a frame rate of 29.97Hz and the output frame rate is 50Hz:
50 Output Frame Rate = ------------ = 1001 ------------------------------------------------------29.97 600 Input Frame Rate
Therefore, program Output_FV_Reset = 600. The numerator does not have to be programmed. Additionally, the Frame_Divider_Reset register (address19h) must be configured to initialize the counter reset programmed in register 18h.
36655 - 2
April 2006
55 of 113
GS4911B/GS4910B Data Sheet Alternatively, depending on the information available, the user may program the Output_H_Reset register (address 17h) instead of programming registers 18h and 19h. Output_H_Reset defines the denominator of the ratio of the output line frequency to the input line frequency. Before Output_H_Reset is programmed, the numerator and denominator must be reduced to their lowest factors. For example, to genlock the output standard 720p/59.94 at 74.25/1.001MHz to the input standard 525i/29.97 at 27MHz:
Input Video Clock Frequency 27000000 Input Line Frequency = ---------------------------------------------------------------------- = ----------------------Video Clocks per Input H 1716 Video Clock Frequency 74250000 1000 Ouput Line Frequency = Output ---------------------------------------------------------------------------- = ----------------------- x ----------1650 1001 Video Clocks per Output H Output Line Frequency ------------------------------------------------------- = 74250000 x 1000 x 1716 = 20 --------------------------------------------------------------Input Line Frequency 27000000 x 1001 x 1650 7
Therefore, program Output_H_Reset = 7. The numerator does not have to be programmed. NOTE: Either register 17h OR registers 18h and 19h should be programmed. Programming all three registers will trigger two counter resets. Programming OUTPUT_FV_RESET is preferred in all cases except where a custom reference pulse is used in VID_STD[5:0] = 62 (see Section 3.10.1 on page 74). In this case, OUTPUT_H_RESET must be used. 3.6.2.2 Programming the Internal Audio Genlock Block (GS4911B only) By default, the audio clocks are always genlocked to the output video clock. However, if a custom video or audio clock is programmed in the host interface (see Section 3.9 on page 72), the user must manually program the internal audio genlock block. A simplified version of the GS4911B's internal audio genlock block is shown in Figure 3-7.
27MHz
Internal Audio Genlock Block Output Video Clock
(fout (
A_Reference_Divide
(host address 3Dh - 3Eh)
Phase Comparator
Clock Synthesizer
Integer Multiple of the Fundamental Audio Sampling Clock
(n * fs (
A_Feedback_Divide
(host address 3Bh - 3Ch)
Figure 3-7: Internal Audio Genlock Block
36655 - 2
April 2006
56 of 113
GS4911B/GS4910B Data Sheet To genlock the audio clock to the video clock, the user must lock the fundamental sampling frequency (fs) to the frequency of the output video clock (fout). This is accomplished by programming the set of integers (A_Feedback_Divide, A_Reference_Divide) in the equation:
fs A _Feedback_Divide ------------------------------------------------- = n x ------f out A_Reference_Divide
where: fs = the fundamental audio sampling frequency fout = output video clock frequency A_Feedback_Divide = numerator of the divide ratio (host register 3Bh-3Ch) A_Reference_Divide = denominator of the divide ratio (host register 3Dh-3Eh) n = an integer constant The integer constant, n, will depend on the fundamental audio sampling frequency. It will be one of the three values as defined in Table 3-5.
Table 3-5: Integer Constant Value ASR_SEL[2:0]=100b
NO YES YES NOTES: 1. Enable_384fs corresponds to bit 5 of address 31h of the host interface. It is LOW by default. 2. `X' signifies `don't care.' This bit will be ignored when determining n.
Enable_384fs = 0
X YES NO
Value of constant (n)
3072 1024 1536
Before programming A_Feedback_Divide and A_Reference_Divide, the numerator and denominator must be reduced to their lowest factors. For example, to manually genlock a custom audio clock with a fundamental sampling frequency of 42kHz to a 27MHz video clock, the following calculations are necessary:
n = 1024 A _Feedback_Divide 42000 43008 - ----------------------------------------------------------- = 1024 x ----------------------- = -------------- = 1792 A_Reference_Divide 27000000 27000 1125
Therefore, program A_Feedback_Divide = 1792 and A_Reference_Divide = 1125. Note that n=1024 when programming a custom audio clock (see Section 3.9.2 on page 73).
36655 - 2
April 2006
57 of 113
GS4911B/GS4910B Data Sheet
3.6.3 Adjustable Locking Time
The GS4911B/GS4910B offers two different locking mechanisms to allow the user to control the PLL lock time and the integrity of the output signal during the locking process. The locking process is said to take place after the application of the input reference and before the LOCK_LOST signal is set LOW. By default, the internal PLL will crash lock. This locking process will ensure a minimum PLL locking time; however, crash lock will cause the phase of the output clock and timing signals to jump during the locking process. The crash behaviour of the video PLL is controlled by the Crash_Time bits of register address 24h. Alternatively, the user may set bit 1 of register 16h HIGH to force the PLL to drift lock. Drift lock will increase the locking time of the PLL, but will maintain the signal integrity of the output clock and timing pulses during the locking process. As discussed in Section 3.5.3 on page 47, the device will normally drift lock when the reference is removed and subsequently re-applied during Genlock mode.
3.6.4 Adjustable Loop Bandwidth
The default loop bandwidth of the GS4911B/GS4910B's internal video PLL is 10Hz when the output video standard is the same as the input reference format. For other cross-locking combinations, the default loop bandwidth may be smaller than 1Hz or as large as 30Hz. The user may adjust the loop bandwidth of both the video and audio PLLs to a value that depends on the input, output, and audio standards selected, as well as on the amplitude of the jitter present on the applied HSYNC signal. Increasing the loop bandwidth will result in a shorter PLL lock time, but will allow more frequency components of jitter to be passed to the outputs. Decreasing the loop bandwidth will decrease the output jitter, but will result in a longer PLL lock time. 3.6.4.1 Loop Bandwidth of the Video PLL The capacitive component of the filter controlling the video loop bandwidth is determined by the Video_Cap_Genlock register and the resistive component is determined by the Video_Res_Genlock register. These two registers are located at addresses 26h and 27h, respectively, of the host interface. To determine the setting of Video_Res_Genlock and Video_Cap_Genlock, the following equations must be solved:
Video_Res_Genlock = 47 + log 2 ( 6 x BW x JITTERIN x H_Feedback_Divide )
Video_Cap_Genlock Video_Res_Genlock - 21
36655 - 2
April 2006
58 of 113
GS4911B/GS4910B Data Sheet where: BW = the desired video PLL loop bandwidth JITTERIN = Jitter present on applied HSYNC reference signal, in seconds H_Feedback_Divide = the numerator of the video PLL divide ratio H_Feedback_Divide represents the numerator of the ratio of the output clock frequency to the frequency of the H reference pulse. It is calculated as described in Section 3.6.2.1 on page 54. NOTE: The bandwidth calculation represented by the above equation is only approximate. As the programmed value of Video_Res_Genlock becomes larger, the approximation becomes more accurate. For example, the following steps are necessary to program a loop bandwidth of 25Hz given the following conditions: input HSYNC jitter = 3 ns, VID_STD[5:0] = 3 and input reference format = NTSC. 1. Calculate H_Feedback_Divide (as defined in Section 3.6.2.1 on page 54):
H_Feedback_Divide f pclkout ------------------------------------------------- x ----------------H_Reference_Divide f Hrefin f pclkout = 27MHz 27 f Hrefin = ----------- MHz 1716 H_Feedback_Divide 1716 - ----------------------------------------------------------- = 27 x ----------- = 1716 H_Reference_Divide 27 1
Therefore, H_Feedback_Divide = 1716. 2. Calculate the value for Video_Res_Genlock:
Video_Res_Genlock = 47 + log 2 ( 6 x 25 x ( 3 x 10 ) x 1716 )
-9
= 37
3. Calculate the value for Video_Cap_Genlock:
Video_Cap_Genlock = 37 - 21 = 16
Therefore, program Video_Res_Genlock = 37 and Video_Cap_Genlock = 16. NOTE: The value programmed in the Video_Res_Genlock register must be between 32 and 42. The value programmed in the Video_Cap_Genlock register must be greater than 10. These limits define the exact range of loop bandwidth adjustment available.
36655 - 2
April 2006
59 of 113
GS4911B/GS4910B Data Sheet 3.6.4.2 Loop Bandwidth of the Audio PLL (GS4911B only) The capacitive component of the filter controlling the audio loop bandwidth is determined by the Audio_Cap_Genlock register and the resistive component is determined by the Audio_Res_Genlock register. These two registers are located at addresses 39h and 3Ah, respectively, of the host interface. To determine the setting of Audio_Res_Genlock and Audio_Cap_Genlock, the following equations must be solved:
Audio_Res_Genlock = 47 + log 2 ( 6 x BW x JITTERIN x A _Feedback_Divide )
Audio_Cap_Genlock Audio_Res_Genlock - 21
where: BW = the desired audio PLL loop bandwidth JITTERIN = Jitter present on output PCLK, in seconds. A_Feedback_Divide = the numerator of the audio PLL divide ratio A_Feedback_Divide is calculated in the same way as demonstrated in Section 3.6.2.2 on page 56. NOTE: The bandwidth calculation represented by the above equation is only approximate. As the programmed value of Audio_Res_Genlock becomes larger, the approximation becomes more accurate. NOTE2: The value programmed in the Audio_Res_Genlock register must be between 32 and 42. The value programmed in the Audio_Cap_Genlock register must be greater than 10. These limits define the exact range of loop bandwidth adjustment available.
3.6.5 Locking to Digital Timing from a Deserializer
As described in Section 3.4.1 on page 43, the GS4911B/GS4910B may be genlocked to either an analog reference, such as a Black & Burst signal, or to an SDI input via the digital H, V, and F blanking signals normally produced by a deserializer. When locking to an SDI input, the user should consider the possibility of a switch of the SDI signal upstream from the system. If the GS4911B/GS4910B is locked to the digital H, V, and F blanking signals produced by a deserializer, and the SDI input to the deserializer is switched such that the phase of the H input changes abruptly, the REF_LOST output will remain LOW and the GS4911B/GS4910B will not crash lock to the new H phase. Instead, the clock and timing outputs will very slowly drift towards the new phase. During this period of drift, the LOCK_LOST output will be LOW, even though the device is not genlocked. The user should clear the Run_Window bits [2:0] of register adress 24h to force the device to crash lock should such a switch occur. This will cause the
36655 - 2
April 2006
60 of 113
GS4911B/GS4910B Data Sheet GS4911B/GS4910B to crash lock whenever it sees a disturbance of the input H signal. NOTE: Any action that causes an abrupt phase change of the H input to the GS4911B/GS4910B such that REF_LOST is not triggered will cause the device to respond in the manner described above. In addition to the slow drifting behaviour outlined above, there may also be a random phase difference between the input VSYNC and output V Sync signals occurring each time a switch in the SDI stream causes an abrupt phase change of the H input to the GS4911B/GS4910B. This will only occur when attempting to lock the "f/1.001" HD output standards to the 525-line SD input references standards, or vice versa. For cases where the user must manually video genlock the device, the problem will occur whenever the value programmed for H_Reference_Divide (registers 2B-2Ah) is greater than 1. All line-based timing outputs are affected. The only way to ensure a constant phase difference between the input VSYNC signal and the line-based timing outputs is to reset the line-based counters after such a switch occurs. This is acheived by toggling bit 15 of register address 83h in the host interface. The device will then delay all line-based output timing signals by Vsync lines relative to the input VSYNC reference, as described in NOTE 3 of Section 3.2.1.1 on page 37.
3.7 Clock Synthesis
The clock synthesis circuit generates the video/graphics clocks based on the VID_STD[5:0] pins and host register settings. In the GS4911B, the clock synthesis circuit also generates the audio clock signals based on the ASR_SEL[2:0] pins and host register settings. The generated video and audio clocks may be further divided and are presented to the application layer via pins PCLK1-PCLK3 and ACLK1-ACLK3 respectively.
3.7.1 Video Clock Synthesis
The programmable video clock generator is referenced to an internal crystal oscillator and is responsible for generating the PCLK output signals. The crystal oscillator requires an external 27MHz crystal connected to pins X1 and X2, or can be driven at LVTTL levels from an external 27MHz source connected to X1. These two configurations are shown in Figure 1-1. A range of 8 different video sample clock rates and 13 different graphic display clock rates may be selected using the VID_STD[5:0] pins of the device. Section 1.4 on page 20 lists the video and graphic formats available using the VID_STD[5:0] pins. Once the device is powered up and an initial output format is selected using VID_STD[5:0], the video clock rate may also be modified via the host interface (see Section 3.9 on page 72). If desired, the external VID_STD[5:0] pins may be ignored by setting bit 1 of the Video_Control register, and the video standard may instead be selected via the VID_STD[5:0] register of the host interface (see Section 3.12.3 on page 79).
36655 - 2 April 2006 61 of 113
GS4911B/GS4910B Data Sheet Although the external VID_STD[5:0] pins will be ignored, they should not be left floating. NOTE: If VID_STD[5:0] is set to 62 on power-up, the video clock will run at a frequency based on the internal default settings of the chip until the user programs registers 20h to 23h. Please see Section 3.9 on page 72 for a detailed explanation of custom clock generation. Once the video clock has been generated, it will be presented to the application layer via the PCLK1 to PCLK3 pins. By default, each of the 3 video clock outputs will produce the generated fundamental clock frequency. However, it is possible to select other rates for each PCLK output by programming the PCLK_Phase/Divide registers beginning at address 2Ch of the host interface (see Section 3.12.3 on page 79). Each PCLK output may be individually programmed to provide one of the following: * * * PCLK fundamental frequency Fundamental frequency /2 Fundamental frequency /4
When all six VID_STD[5:0] pins are set LOW, the video clocks will be disabled. PCLK1 and PCLK2 will go LOW and PCLK3/PCLK3 will be high impedance. NOTE: If the PCLK divider bits of registers 2Ch - 2Eh are set to enable a divide by 2 or divide by 4, the resultant divided clock will align with the falling edge of the output H Sync timing signal either on its rising or falling edge. The PCLK1 to PCLK3 outputs may also be individually delayed with respect to the eight TIMING_OUT signals to allow for skew control downstream from the GS4911B/GS4910B. Using the PCLK_Phase/Divide registers, the phase of each clock may be delayed up to a nominal 10.3ns in 16 steps of approximately 700ps each (Table 3-6). This delay is available in addition to the genlock timing offset phase adjustment described in Section 3.2.1 on page 37.
Table 3-6: Video Clock Phase Adjustment Host Settings
PCLKn_Phase[3:0] Setting Phase Increment (ns) NOTES: 1. The phase increments listed above are nominal values. 2. The phase of PCLK is delayed relative to the TIMING_OUT pins. 0h 0 1h 0.7 2h 1.4 3h 2.1 4h 2.8 5h 3.5 6h 4.2 7h 4.9 8h 5.6 9h 6.3 Ah 7.0 Bh 7.7 Ch 8.4 Dh 9.1 Eh 9.8 Fh 10.3
Additionally, the current drive capability of PCLK1 and PCLK2 may be set high or low using the PCLK_Phase/Divide registers. By default the current drive will be low. It must be set high if the clock rate is greater than 100MHz.
36655 - 2
April 2006
62 of 113
GS4911B/GS4910B Data Sheet
3.7.2 Audio Clock Synthesis (GS4911B only)
The programmable audio clock generator is referenced to the internal PCLK signal and is responsible for generating the ACLK output signals. Three audio clock output pins, ACLK1 to ACLK3, are available to the application layer. The fundamental sampling frequency, fs, is selected using the ASR_SEL[2:0] pins as shown in Table 3-7. Once selected, the audio clock rate may be customized via the host interface (see Section 3.9 on page 72). If desired, the external ASR_SEL[2:0] pins may be ignored by setting bit 2 of the Audio_Control register and the sampling frequency may instead be programmed in the ASR_SEL[2:0] register of the host interface (see Section 3.12.3 on page 79). Although the external ASR_SEL[2:0] pins will be ignored, they should not be left floating.
Table 3-7: Audio Sample Rate Select ASR_SEL[2:0]
000 001 010 011 100 101 110 111
Sampling Frequency (kHz)
Audio Clock Generation Disabled 32 44.1 48 96 Slow 32* Slow 44.1* Slow 48*
*Slow 32, 44.1, and 48 are available only when the video standard selected is 23.98, 29.97, or 59.94 frame rate based. They refer to 32kHz, 44.1kHz, or 48kHz multiplied by 1000/1001 to maintain the 1, 2, or 3 frame sequence normally associated with 24, 30, and 60 fps video.
When all three ASR_SEL[2:0] pins are set LOW, the audio clock outputs will be high impedance. In this case, the application layer may continue to power the AUD_PLL_VDD pin; however, to minimize noise and power consumption, AUD_PLL_VDD may be grounded. By default, after system reset, ACLK1 to ACLK3 will output clock signals at 256fs, 64fs, and fs respectively. Different division ratios for each output pin may be selected by programming the ACLK_fs_Multiple registers beginning at address 3Fh of the host interface (see Section 3.12.3 on page 79). The encoding of this register is shown in Table 3-8. Clock outputs of 512fs, 348fs, 256fs, 192fs, 128fs, 64fs, fs, and z bit are selectable on a pin by pin basis. The z bit will go HIGH for one fs period every 192 fs periods. Its phase is not defined by any timing event in the GS4911B, and so is arbitrary.
36655 - 2
April 2006
63 of 113
GS4911B/GS4910B Data Sheet
Table 3-8: Audio Clock Divider ACLKn_fs_Multiple[3:0]
000 001 010 011 100 101 110 111
Audio Clock Frequency
fs 64fs 128fs 192fs* 256fs 384fs* 512fs** z-bit
*This setting is only available when the enable_384fs bit of the Audio_Control register is HIGH. **512fs clock will have a 33% duty cycle when the enable_384fs bit is HIGH and fs = 96kHz.
The fs signal on ACLK1-3 has an accurate 50% duty cycle, and can be used for left/right definition, with the following exception: if fs = 96kHz and the user configures the host interface such that one of the three ACLK pins is set to output a clock signal at 192fs or 384fs, the 512fs clock will have a 33% duty cycle. All audio clocks are initially reset on the rising edge of the AFS pulse, ensuring that video to audio clock synchronization is correct. During normal operation, the audio clock edge is allowed to drift slightly with respect to the AFS pulse. By default, the audio clock will be reset directly by the AFS pulse if it drifts more than approximately +/-0.1us from the rising edge of the AFS pulse. However, after device reset, or after the application of a new input reference, the ACLK outputs may sometimes be offset from the AFS pulse by up to several microseconds. The offset will remain until the device is reset or the reference removed and re-applied. The user may avoid this offset by minimizing the width of the AFS_Reset_Window using bits 9-7 of register 31h for the duration of the audio PLL locking process. Once the audio PLL is locked, bit 1 of register 1Fh will be set HIGH, and the AFS_Reset_Window may be set as desired. See Table 3-9. NOTE: To maintain correct audio clock frequencies for some VESA standards, the window tolerance shown in Table 3-9 may have to be increased from its default setting. In this case, set the AFS_Reset_Window register to 1XX.
36655 - 2
April 2006
64 of 113
GS4911B/GS4910B Data Sheet
Table 3-9: Encoding Scheme for AFS_Reset_Window Window Tolerance (us)
AFS_Reset_Window (address 31h) 000 001 010 (default) 011 1XX fs = 32kHz 0.044 0.084 0.166 0.329 0.654 fs = 44.1kHz 0.033 0.062 0.121 0.239 0.475 fs = 48 kHz 0.030 0.057 0.112 0.220 0.437 fs = 96 kHz (enable_384fs = 1) 0.030 0.057 0.112 0.220 0.437 fs = 96 kHz (enable_384fs = 0) 0.044 0.084 0.166 0.329 0.654
NOTE: `X' signifies `don't care.' The bit setting will be ignored.
3.7.2.1 Audio to Video Clock Phasing The important aspect of the audio to video phase relates to the way in which the AFS pulse is used to reset the audio clock dividers so as to line up the leading edge of the audio clocks with the leading edge of the H Sync pulse on line 1 of the first field in the audio frame sequence. The AFS pulse is further discussed in Section 3.8.2 on page 68. 625i 50 Format For the 48kHz sampling rate, the audio to video phase relationship for 625/50i reference signals is provided by the device in accordance with the EBU recommended practice R83-1996. The start of an audio frame (fs clock) will align with the 50% point of the H sync input of line 1 of each video frame (+/- the allowable drift specified in Table 3-9). 525i 59.94 Format For 525/59.94 NTSC reference signals, the device will observe the 5-frame phase-relationship inherent with this video standard, aligning the audio clocks with the 50% point of the H sync input of line 1 on every fifth frame (+/- the allowable drift specified in Table 3-9). The number of audio sample clocks during a video frame is shown in Table 3-10 for 32, 44.1, and 48kHz audio sampling frequencies.
36655 - 2
April 2006
65 of 113
GS4911B/GS4910B Data Sheet
Table 3-10: Audio Sampling Frequency to Video Frame Rate Synchronization Audio Samples per Video Frame
Audio Sample Rate (kHz) 32 44.1 48 * fps = frames per second. 24fps 4000/3 3675/2 2000 25fps 1280 1764 1920 29.97fps 16016/15 147147/100 8008/5 30fps 3200/3 1470 1600 50fps 640 882 960 59.94fps 8008/15 147147/200 4004/5 60fps 1600/3 735 800
The external 10FID input pin may be used to resynchronize other audio clock frequencies, according to Table 3-10, by applying an active signal during the reference HSYNC of line 1 of the appropriate video frame. Please see Section 3.4.2 on page 44 for more details on the 10FID input pin. In the case where 10FID is not present as a reference signal, the GS4911B will automatically generate an AFS pulse appropriate to the format selected, and use it to create an audio frame sequence. Host Interface Control of AFS and 10FID Alternatively, the user may program the device via the host interface to re-time the audio frame sequence and 10 field-ID. Using register 1Ah, a pulse may be generated to reset the AFS and/or 10FID dividers at the start of an output video frame (see Section 3.12.3 on page 79). If using the host interface to reset the AFS pulse, the device may be configured to ignore the input 10FID reference pin. To disable the signal on the external 10FID pin from resetting the AFS output pulse, set bit 0 of the Audio_Control register HIGH. If using the host interface to reset the 10FID pulse, the external 10FID pin must be grounded.
36655 - 2
April 2006
66 of 113
GS4911B/GS4910B Data Sheet
3.8 Video Timing Generator
The internal PCLK signal generated by the clock synthesis circuit is used to produce horizontal, vertical, and frame based timing output signals. The signals generated and available to the application layer via the TIMING_OUT pins are: H Sync, H Blanking, V Sync, V Blanking, F Sync, F Digital, DE, 10FID, AFS (GS4911B only), and USER_1~4. These signals are defined in Section 1.5 on page 25. Additional information pertaining to the 10FID, AFS, and USER_1~4 signals can be found in the sub-sections below. When the GS4911B/GS4910B is operating in Genlock mode, the H, V, and F based output timing signals are synchronized to the H, V, and F reference signals applied to the inputs by the application layer. The video timing outputs may be offset from the input reference by programming the Genlock Offset registers beginning at address 1Bh of the host interface (see Section 3.2.1.1 on page 37). All TIMING_OUT signals have selectable polarity. The default polarities for each signal are given in the descriptions in Section 1.5 on page 25.
3.8.1 10 Field ID Pulse
As described in Table 1-3, the 10 field ID (10FID) output signal is used in the identification of film to video cadence. It is only generated for 29.97, 30, 59.94, and 60fps formats. The 10FID pulse is generated on every 5th frame for 29.97 and 30fps formats, and every 10th frame on 59.94 and 60fps formats. By default, the 10FID signal is set HIGH on the leading edge of the H Sync output for the duration of line 1 of field 1 at the start of the 10 field sequence. This is shown in Figure 3-8. Alternatively, by setting bit 4 of the Video_Control register at address 4Ch of the host interface, the 10FID output signal may be configured to go HIGH (default polarity) on the leading edge of the H Sync pulse of line 1 of the first field in the 10 field sequence, and be reset LOW on the leading edge of the H Sync pulse of line 1 of the second field in the 10 field sequence. This is shown in Figure 3-9.
Total Line
10FID Output Line 1, Frame 1 every 'n' frames Horizontal Sync Output
Line 1 every n frames where: n = 5 @ 29.97 fps, 30 fps n = 10 @ 59.94 fps, 60 fps
Figure 3-8: Default 10FID Output Timing
36655 - 2
April 2006
67 of 113
GS4911B/GS4910B Data Sheet
Total Field
10FID Output
Horizontal Sync Output
Line 1 every n frames where: n = 5 @ 29.97 fps, 30 fps n = 10 @ 59.94 fps, 60 fps
Figure 3-9: Optional 10FID Output Timing
The phasing of the divide by n frame counter may be reset by an external pulse on the 10FID input pin, or via register 1Ah of the host interface (see Section 3.12.3 on page 79). NOTE: If a 10FID input signal is not provided to the device, the 10FID output signal will be invalid until the user initiates a reset via the host interface. The user should also reset the 10FID signal via the host if at any time the H input reference signal is removed and then re-applied.
3.8.2 Audio Frame Synchronizing Pulse (GS4911B only)
As described in Table 1-3, the audio frame synchronizing (AFS) pulse identifies the frame, within an n frame sequence, in which the audio sample rate clock is aligned with the H Sync of line 1. It is generated for all video formats. The leading edge of the AFS output pulse is co-timed with the H Sync corresponding to line 1 of every nth frame in the sequence, and therefore identifies the exact time at which the audio sample rate clock and video PCLK have synchronous leading edges. The number of frames in the sequence, n, is determined by the video frame rate and the audio clock frequency. These are selected using the VID_STD[5:0] and ASR_SEL[2:0] pins or via the host interface. By default, the AFS pulse is 1 line long, as shown in Figure 3-10. Alternatively, by setting bit 1 of the Audio_Control register, the AFS output signal may be configured to go HIGH on the leading edge of the H Sync pulse of line 1 of the first field in the `n' frame sequence, and be reset LOW on the leading edge of the H Sync pulse of line 1 of the second field in the sequence. The AFS timing in this configuration is similar to the 10FID optional timing shown in Figure 3-9.
36655 - 2
April 2006
68 of 113
GS4911B/GS4910B Data Sheet
Total Line
AFS_OUT
Horizontal Sync Output
Line 1 every n frames where: n = 1 @ 25fps: fs = 32kHz n = 1 @ 25fps, 30fps & 60fps: fs = 44.1kHz n = 1 @ 25fps, 30fps & 60fps; fs = 48kHz n = 2 @ 24fps; fs = 44.1kHz, 48kHz n = 3 @ 24fps, 30fps & 60fps: fs = 32kHz n = 5 @ 29.97fps & 59.94fps; fs = 48kHz n = 15 @ 29.97fps & 59.94fps; fs = 32kHz n = 100 @ 29.97fps; fs = 44.1kHz n = 200 @ 59.94fps; fs = 44.1kHz
Figure 3-10: AFS Output Timing
The phasing of the divide by n counter can be controlled by the 10FID input or via designated registers in the host interface. By default, the 10FID input pin controls the AFS phase (in addition to controlling the 10FID phase); however, this feature may be disabled by setting bit 0 of the Audio_Control register (see Section 3.12.3 on page 79). In addition, the AFS signal may be reset via register 1Ah.
3.8.3 USER_1~4
As described in Table 1-3, the GS4911B/GS4910B offers 4 user programmable output signals which are available independent of the selected output video format. Each user signal is individually programmable and the polarity, position, and width of each output may be defined with respect to the digital output timingof the device. Each output signal may be programmed in both the horizontal and vertical dimensions relative to the leading edges of H blanking and V blanking. If desired, the pulses produced may then be combined with a logical AND, OR, or XOR function to produce a composite signal (for example, a horizontal back porch pulse during active lines only, or the active part of lines 15 through 20 for vertical information retrieval). By default, the AND, OR, and XOR functions are disabled. Therefore, when a USER signal is selected using the Output_Select registers of the host interface, the signal will go LOW (default polarity) at the H_Start pixel and return HIGH after the H_Stop pixel. Setting the AND bit HIGH, for example, will cause the USER signal to be active only when USER_H is active and USER_V is active (i.e. the pixel is between both H_Start and H_Stop and V_Start and V_Stop). See Figure 3-11. NOTE: The effective horizontal range of the four user-defined timing signals is [H_Start + 1, H_Stop], except when H_Start = 1, in which case the range is [H_Start, H_Stop]. This prevents the user from specifying an output USER signal that begins on pixel 2 of a line.
36655 - 2
April 2006
69 of 113
GS4911B/GS4910B Data Sheet In the case of interlaced output formats, the programmed vertical start and stop lines refer to the start and stop lines of the generated USER signal on field 1. The start and stop lines of the USER signal on the even fields will be V_Start - 1 and V_Stop - 1, respectively. For example, if VID_STD[5:0] = 3, field 1 will have 263 lines and field 2 will have 262 lines. A user-defined vertical pulse programmed to start on line 12 and stop on line 17 will start on frame lines 12 and 274, and stop on frame lines 17 and 279. The designated registers for programming each user signal are located in the host interface beginning at address 57h. See Section 3.12.3 on page 79.
H_Stop H_Start H_Start H_Stop AND=1 H_Stop
V_Start V_Stop
V_Start V_Stop
AND=0, OR=0, XOR=0 (default)
H_Start
H_Stop
V_Start V_Stop
V_Start V_Stop
AND=0, OR=1
AND=0, OR=0, XOR=1
Shading indicates when USER_x signal is active
Figure 3-11: USER Programmable Output Signal
36655 - 2
April 2006
H_Start
70 of 113
GS4911B/GS4910B Data Sheet
3.8.4 TIMING_OUT Pins
The horizontal, vertical, and frame based timing output signals for the selected video format are available to the application layer via the TIMING_OUT_1 to TIMING_OUT_8 pins. Programmable Crosspoint Switch Each TIMING_OUT pin outputs a default signal as shown in Table 1-3. Alternatively, a crosspoint switch may be programmed via the eight Output_Select registers of the host interface, allowing the user to select which output signal is directed to each TIMING_OUT pin (see Section 3.12.3 on page 79). Any signal may be sent to more than one pin if desired. Table 3-11 outlines the encoding scheme of the eight Output_Select registers, which begin at address 43h of the host interface.
Table 3-11: Crosspoint Select Output_Select_n Bit Settings
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
Output Signal
High Impedance H Sync H Blanking V Sync V Blanking F Sync F Digital 10FID DE Reserved AFS* USER_1 USER_2 USER_3 USER_4 Reserved
*AFS is only available on the GS4911B. The bit setting 1010b will be ignored by the GS4910B.
3.8.4.1 Selectable Current Drive and Polarity The current-drive of each timing output pin is also selectable via the Output_Select registers. The current drive of each TIMING_OUT pin is low by default. However, it may be set high to accommodate certain applications. Additionally, the Polarity register of the host interface may be programmed to select the polarity of each timing output signal.
36655 - 2 April 2006 71 of 113
GS4911B/GS4910B Data Sheet
3.9 Custom Clock Generation
In addition to the device's pre-programmed clock frequencies, the user may generate a custom audio or video clock by programming designated registers in the host interface. Custom video clock generation is supported by both the GS4910B and GS4911B and is described in Section 3.9.1 on page 72. Custom audio clock generation is only supported by the GS4911B and is described in Section 3.9.2 on page 73.
3.9.1 Programming a Custom Video Clock
The fundamental frequency of the video clock is defined by the output video format initially set by VID_STD[5:0]. At any time, this fundamental frequency may be modified to create a custom output video format. The user may generate a video clock with any frequency between 13.5MHz and 165MHz. By programming the PCLK_Divide registers, the output PCLK may be as low as 13.5/4 = 3.375MHz. Generating a custom video clock will change the period of the video timing signals presented to the TIMING_OUT pins; however, the pixels per line, lines per frame, and other pixel and line-based timing signals will remain unchanged. To redefine the pixel and line based timing parameters, registers 4Eh to 55h must be reprogrammed as described in Section 3.10 on page 74. The frequency of the custom video clock is determined using a ratio based on the 27MHz reference. Therefore, to program a custom clock, the user must calculate and program the set of integers (Nv, Dv) in the equation:
f out Nv ----- = ------Dv f in
where: fout = desired output video clock frequency fin = 27MHz crystal reference Nv = numerator of the ratio (host register 20h-21h) Dv = denominator of the ratio (host register 22h-23h) Before programming Nv and Dv, the numerator and denominator must be reduced to their lowest factors. Two examples are given below: Example 1: Programming an output video clock of 74.25MHz:
f out ------- = 74.25MHz ------------------------f in 27MHz Nv ----- = 7425 = 11 --------------Dv 2700 4
Therefore, program Nv = 11 and Dv = 4.
36655 - 2
April 2006
72 of 113
GS4911B/GS4910B Data Sheet Example 2: Programming an output video clock of 74.175824MHz (74.25/1.001):
74.25 ------------ MHz f out 1.001 ------- = ------------------------f in 27MHz Nv 7425 x 1000 250 ----- = ----------------------------- = -------Dv 2700 x 1001 91
Therefore, program Nv = 250 and Dv = 91. NOTE: The Nv and Dv values programmed in registers 20h-21h and 22h-23h are not held until the custom video clock update bit (6) of register 16h is toggled.
3.9.2 Programming a Custom Audio Clock (GS4911B only)
The GS4911B's audio clocks are derived from the fundamental audio sampling frequency initially set by ASR_SEL[2:0]. At any time this fundamental sampling frequency may be modified to create a custom output audio clock. The user may generate any audio sampling frequency between 6.6kHz and 96kHz, and therefore create a custom audio clock as high as 512*96kHz. When generating a custom audio sampling frequency, ASR_SEL[2:0] must be set to 100b and bit 5 of register 31h (enable_384fs) must be kept LOW. The fundamental sampling frequency is determined using a ratio based on the 27MHz reference. Therefore, to program a custom audio clock, the user must calculate and program the set of integers (Na, Da) in the equation:
fs Na ------ = 1024 x ----f in Da
where: fs = desired fundamental audio sampling frequency fin = 27MHz crystal reference Na = numerator of the ratio (host register 33h-34h) Da = denominator of the ratio (host register 35h-36h) Before programming Na and Da, the numerator and denominator must be reduced to their lowest factors. For example, to program a fundamental audio sampling frequency of 42kHz:
Na 42000 ------ = 1024 x ----------------------- = 43008 = 1792 -----------------------27000000 Da 27000 1125
Therefore, program Na = 1792 and Da = 1125 and toggle the custom audio clock update bit (6) of register 31h. Using registers 3Fh to 41h, the custom audio sampling frequency generated may then be multiplied by a factor of 64, 128, 256, or 512 before being presented to the ACLK pins. NOTE: The AFS reset described in Section 3.7.2 on page 63 will always remain active.
36655 - 2
April 2006
73 of 113
GS4911B/GS4910B Data Sheet
3.10 Custom Output Timing Signal Generation
In addition to the devices's pre-programmed output timing signals, the user may also build their own custom timing signals. This is achieved by setting VID_STD[5:0] = 62 and programming designated host registers. When programming custom output timing signals, the user must define the pixel, line, and field/frame timing parameters using registers 4Eh to 55h of the host interface (see Figure 3-12). For all custom formats, the VSync output will start on line 1 of the video field. The user may delay the VSync pulse to any line using the V_Offset register (see Section 3.2.1.1). When the user sets VID_STD[5:0] = 62, registers 4Eh to 55h will become read/write configurable and the device will initially continue to output timing signals based on the video format previously selected. Once the user has programmed all eight custom timing registers, generation of the new timing signals will begin. The frequency of the video clock will remain as previously selected unless otherwise modified as described in Section 3.9.1 on page 72. NOTE: If VID_STD[5:0] = 62 on power-up, the initial output timing signals will be set to the internal default timing of the chip until the user programs 4Eh to 55h.
Clocks_Per_Line (4Eh)
H Sync
Clocks_Per_Hsync (4Fh) Hsync_To_EAV (51h)
H Blanking Hsync_To_SAV (50h)
Lines_Per_Field (52h)
V Sync
Lines_Per_Vsync (53h) Vsync_To_Last_Active_Line (55h)
V Blanking Vsync_To_First_Active_Line (54h)
Figure 3-12: Custom Timing Parameters
3.10.1 Custom Input Reference
As explained in Section 3.5.2 on page 45, when VID_STD[5:0] = 62, the device will only verify that a stable signal with a period of less than 2.4ms is present on the HSYNC input pin before attempting to genlock. Therefore, in addition to programming custom output timing signals, the user may genlock the output timing signals to a custom reference pulse applied to HSYNC. In this case the user is required to manually program the video genlock block (see Section 3.6.2.1 on page 54).
36655 - 2
April 2006
74 of 113
GS4911B/GS4910B Data Sheet
3.11 Extended Audio Mode for HD Demux using the Gennum Audio Core
The GS4911B/GS4910B has been designed to interface with Gennum's FPGA Audio Core in order to provide a 24.576MHz clock (512 * 48kHz) locked to the audio clock contained in the embedded audio data packets of an HD-SDI stream. It is the responsibility of the user to divide this clock by 4 to obtain the 6.144MHz required by the core. In HD Demux mode, the FPGA Audio Core will extract an audio clock from the embedded audio data packets and present a 24kHz clock to the GS4911B/GS4910B via the aclkdiv2a (for Group A) and aclkdiv2b (for Group B) outputs. The embedded clock must be 48kHz. The 24kHz reference signals for each audio group must be applied to the HSYNC input pin of a GS4911B/GS4910B, while a divided version of this signal must be applied to the VSYNC input pin. The divided signal must meet the requirements for VSYNC validity given in Section 3.5.2 on page 45. It is recommended that the VSYNC signal be generated by dividing the 24kHz reference applied to HSYNC by 512 to give 46.875Hz. To enable the extended audio mode, the user must do the following: 1. Set VID_STD[5:0] = 04h. 2. Set the F_Lock_Mask and V_Lock_Mask bits [4:3] of register address 16h to 1. 3. Set the Ext_Audio_Mode register address 81h to 20C1h. 4. Toggle the Update_Custom_V_Clock bit [6] of register address 16h. In this mode, the GS4911B/GS4910B will produce a 24.576MHz clock on its PCLK output pins that is locked to the 24kHz extracted audio clock reference applied to HSYNC. It will not lock to any other reference frequency. The user may then divide this frequency by 4 using the programmable dividers in the GS4911B/GS4910B.
FPGA
Serial Video Input Video Data GS1559 Deserializer PCLK
vin[19:0] pclk
aclk64a wclka aout1_2 aout3_4
HD AUDIO DEMUX CORE
aclk64b wclkb aout5_6 aout7_8
/512
GS49xxB
PCLK1
aclk128a
/512
GS49xxB
PCLK1
aclk128b
aclkdiv2b aclkdiv2a
Figure 3-13: Audio Clock Block Diagram for HD Demux Operation
36655 - 2
April 2006
75 of 113
GS4911B/GS4910B Data Sheet
3.12 GSPI Host Interface
The GSPI, or Gennum Serial Peripheral Interface, is a 4-wire interface provided to allow the host to enable additional features of the GS4911B/GS4910B and/or to provide additional status information through configuration registers in the device. The GSPI comprises a serial data input signal, SDIN, a serial data output signal, SDOUT, an active low chip select, CS, and a burst clock, SCLK. The burst clock must have a duty cycle between 40% and 60%. Because these pins are shared with the JTAG interface port, an additional control signal pin, JTAG/HOST is provided. When JTAG/HOST is LOW, the GSPI interface is enabled. When operating in GSPI mode, the SCLK, SDIN, and CS signals are provided by the application interface. The SDOUT pin is a non-clocked loop-through of SDIN and may be connected to the SDIN pin of another device, allowing multiple devices to be connected to the GSPI chain. The interface is illustrated in Figure 3-14.
Application Host GS4911B/GS4910B SCLK CS1 SDOUT SCLK CS SDIN SDOUT
GS4911B/GS4910B SCLK CS2 CS SDIN SDIN SDOUT
Figure 3-14: GSPI Application Interface Connection
All read or write access to the GS4911B/GS4910B is initiated and terminated by the host processor. Each access always begins with a 16-bit command word on SDIN indicating the address of the register of interest. This is followed by a 16-bit data word on SDIN in write mode, or a 16-bit data word on SDOUT in read mode.
36655 - 2
April 2006
76 of 113
GS4911B/GS4910B Data Sheet
3.12.1 Command Word Description
The command word consists of 16 bits transmitted MSB first and includes a read/write bit, an Auto-Increment bit and a 12-bit address. Figure 3-15 shows the command word format and bit configurations. Command words are clocked into the GS4911B/GS4910B on the rising edge of the serial clock, SCLK, which operates in a burst fashion. When the Auto-Increment bit is set LOW, each command word must be followed by only one data word to ensure proper operation. If the Auto-Increment bit is set HIGH, the following data word will be written into the address specified in the command word, and subsequent data words will be written into incremental addresses. This facilitates multiple address writes without sending a command word for each data word. Auto-Increment may be used for both read and write access.
MSB R/W RSV LSB RSV
AutoInc
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
RSV = Reserved. Must be set to zero.
R/W: Read command when R/W = 1 Write command when R/W = 0
Figure 3-15: Command Word Format
MSB D15
LSB D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Figure 3-16: Data Word Format
3.12.2 Data Read and Write Timing
Read and write mode timing for the GSPI interface is shown in Figure 3-17 and Figure 3-18 respectively. The timing parameters are defined in Table 3-12. When several devices are connected to the GSPI chain, only one CS should be asserted during a read sequence. During the write sequence, all command and following data words input at the SDIN pin are output at the SDOUT pin as is. Where several devices are connected to the GSPI chain, data can be written simultaneously to all the devices that have CS set LOW.
36655 - 2
April 2006
77 of 113
GS4911B/GS4910B Data Sheet
Table 3-12: GSPI Timing Parameters Parameter
t0 t1 t2 t3 t4
Definition
The minimum duration of time chip select, CS, must be LOW before the first SCLK rising edge. The minimum SCLK period. Duty cycle tolerated by SCLK. Minimum input setup time. The minimum duration of time between the last SCLK command word (or data word if the Auto-Increment bit is HIGH) and the first SCLK of the data word (write cycle). The minimum duration of time between the last SCLK command word (or data word if the Auto-Increment bit is HIGH) and the first SCLK of the data word (read cycle). Minimum output hold time (15pF load). The minimum duration of time between the last SCLK of the GSPI transaction and when CS can be set HIGH. Minimum input hold time.
Specification
1.5 ns 100 ns 40% to 60% 1.5 ns 37.1 ns
t5
148.4 ns
t6 t7 t8
1.5 ns 37.1 ns 1.5 ns
t5
SCLK
CS
t6
R/W RSV RSV AutoInc A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0
SDIN
SDOUT
R/W
RSV
RSV
AutoInc
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
Figure 3-17: GSPI Read Mode Timing
t0
SCLK
t1
t4
t7
CS
t3
R/W RSV RSV AutoInc A11 A10
t2
A9 A8 A7
t8
A6 A5 A4 A3 A2 A1 A0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
SDIN
SDOUT
R/W
RSV
RSV
AutoInc
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
Figure 3-18: GSPI Write Mode Timing
36655 - 2
April 2006
78 of 113
GS4911B/GS4910B Data Sheet
3.12.3 Configuration and Status Registers
Table 3-13 summarizes the GS4911B/GS4910B's internal status and configuration registers. All registers are available to the host via the GSPI and are all individually addressable.
Table 3-13: Configuration and Status Registers Register Name
RSVD H_Period
Address
00h - 09h 0Ah
Bit
- 15-0
Description
Reserved. Contains the number of 27MHz pulses in the input H Sync period. This register is set by the Reference Format Detector block using the H Sync signal present on the external HSYNC input pin. NOTE: If the reference is removed this register will remain unchanged until a new reference with a different HSYNC period is applied. Reference: Section 3.5.1 on page 45
R/W
- R
Default
- N/A
H_16_Period
0Bh
15-0
Contains the number of 27MHz pulses in 16 H Sync periods. This register is set by the Reference Format Detector block using the H Sync signal present on the external HSYNC input pin. It is useful for 1/1.001 data detection. NOTE: If the reference is removed this register will remain unchanged until a new reference with a different HSYNC period is applied. Reference: Section 3.5.1 on page 45
R
N/A
V_Lines
0Ch
15-0
Contains the number of H Sync periods in the input V Sync interval. This register is set by the Reference Format Detector block using the signals present on the external HSYNC and VSYNC input pins. NOTE: If the reference is removed this register will remain unchanged until a new reference with a different VSYNC period is applied. Reference: Section 3.5.1 on page 45
R
N/A
V_2_Lines
0Dh
15-0
Contains the number of H Sync periods in 2 V Sync intervals. This register is set by the Reference Format Detector block using the signals present on the external HSYNC and VSYNC input pins. NOTE: If the reference is removed this register will remain unchanged until a new reference with a different VSYNC period is applied. Reference: Section 3.5.1 on page 45
R
N/A
F_Lines
0Eh
15-0
Contains the number of H Sync periods in the input F Sync interval. This register is set by the Reference Format Detector block using the signals present on the external HSYNC and FSYNC input pins. NOTE: If the reference is removed this register will remain unchanged until a new reference is applied. If the new reference does not include an FSYNC pulse, this register will be set to zero. Reference: Section 3.5.1 on page 45
R
N/A
36655 - 2
April 2006
79 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Input_Standard
Address
0Fh 0Fh
Bit
15-13 12
Description
Reserved. Set these bits to zero when writing to 0Fh. Force_Input - Set this bit HIGH to force the GS4911B/GS4910B to recognize the applied input reference format as the standard programmed in bits 11-6 of this register. Reference: Section 3.2.1.2 on page 40
R/W
- R/W
Default
- 0
0Fh
11-6
Forced_Standard - When bit 12 is set HIGH, the GS4911B/GS4910B will use the value programmed in these bits, rather than the value in bits 5-0, to determine the input reference format. The 6-bit value programmed here should always correspond to the VID_STD[5:0] value of the applied reference. These bits should only be programmed as part of the Freeze mode procedure described in Section 3.2.1.2 on page 40.
R/W
0
0Fh
5-0
Detected_Standard - Contains the video standard applied to the input reference pins once it has been detected. These bits are set by the Reference Format Detector block and correspond to the VID_STD[5:0] value of the standard as listed in Table 1-2. The Detected_Standard bits will be set to zero if no input reference signal is applied or if the input reference signal is not an automatically recognized video format. Otherwise the value will be between 1 and 54. Reference: Section 3.5.2 on page 45
R/W
N/A
Amb_Std_Sel
10h 10h
15-11 10-0
Reserved. Set these bits to zero when writing to 10h. The user may set this register to distinguish between different formats that look identical to the internal Reference Format Detector block. See Table 3-2. Reference: Section 3.5.2.1 on page 46
- R/W
- 0
Reference_Standard_Disable
14h-11h
63-0
The Reference_Standard_Disable registers may be used to disable one or more of the recognized input standards from being used to genlock the output. This is done by setting the bit HIGH that corresponds to the VID_STD[5:0] value of the video standard in Table 1-2. For example, if bit 5 is set HIGH, then the output clock and timing signals will not genlock to an input reference with timing corresponding to VID_STD[5:0] = 5 in Table 1-2. Address 11h = bits 15-0 Address 12h = bits 31-16 Address 13h = bits 47-32 Address 14h = bits 63-48 Reference: Section 3.6 on page 50
R/W
0
36655 - 2
April 2006
80 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Genlock_Status
Address
15h 15h
Bit
15-6 5
Description
Reserved. Reference_Lock - this bit will be HIGH when the output is successfully genlocked to the input (i.e. when bits 4-1 of this register are HIGH and are not masked by bits 4-2 of register 16h). The LOCK_LOST output pin is an inverted copy of this bit. Reference: Section 3.6.1 on page 50
R/W
- R
Default
- N/A
15h
4
F_Lock - this bit will be HIGH when the output F is successfully genlocked to the FSYNC input. NOTE: If the input reference does not include an FSYNC input, this bit will have the same setting as V_Lock (bit 3). Reference: Section 3.6.1 on page 50
R
N/A
15h
3
V_Lock - this bit will be HIGH when the output V is successfully genlocked to the VSYNC input. Reference: Section 3.6.1 on page 50
R
N/A
15h
2
H_Lock - this bit will be HIGH when the output H is successfully genlocked to the HSYNC input. Reference: Section 3.6.1 on page 50
R
N/A
15h
1
Clock_Lock - this bit will be HIGH when the video clock is locked to the internal V_pll AND the audio clock is locked to the internal A_pll (i.e. bits 0 and 1 of register 1Fh are HIGH). Reference: Section 3.6.1 on page 50
R
N/A
15h
0
Reference_Present - this bit will be HIGH when a valid input reference signal has been applied to the device. The REF_LOST output pin is an inverted copy of this bit. Reference: Section 3.5.2 on page 45
R
N/A
36655 - 2
April 2006
81 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Genlock_Control
Address
16h 16h
Bit
15-7 6
Description
Reserved. Set these bits to zero when writing to 16h. Update_Custom_V_Clock - this bit is used to update the custom video clock parameters programmed in registers 20h to 23h of the host interface. All non-zero parameters in these registers will be updated via a LOW to HIGH transition on this bit. This bit is also used to enable the Extended Audio Mode of the device.
R/W
- R/W
Default
- 0
16h
5
Genlock_From_Host - set this bit HIGH to enable video genlock control via the Host Interface instead of the external GENLOCK pin (see bit 0 of this register). Reference: Section 3.2 on page 36
R/W
0
16h
4
F_Lock_Mask - if this bit is set HIGH, the GS4911B/GS4910B will ignore the status of F_Lock (bit 4 of register 15h) when determining the status of Reference_Lock (bit 5 of register 15h). Reference: Section 3.6.1 on page 50
R/W
0
16h
3
V_Lock_Mask - if this bit is set HIGH, the GS4911B/GS4910B will ignore the status of V_Lock (bit 3 of register 15h) when determining the status of Reference_Lock (bit 5 of register 15h). Reference: Section 3.6.1 on page 50
R/W
0
16h
2
H_Lock_Mask - if this bit is set HIGH, the GS4911B/GS4910B will ignore the status of H_Lock (bit 2 of register 15h) when determining the status of Reference_Lock (bit 5 of register 15h). Reference: Section 3.6.1 on page 50
R/W
0
16h
1
Drift_Crash - when this bit is set HIGH, the generated video clock will drift lock to a new input reference rather than crash lock. Reference: Section 3.6.3 on page 58
R/W
0
16h
0
GENLOCK - this bit may be used instead of the external pin to Genlock the output video format to the input reference. This bit will be ignored if bit 5 of this register is LOW. Reference: Section 3.2 on page 36
R/W
0
Output_H_Reset
17h
15-0
When the output is genlocked to the input, the input reference is used to reset the line-based counter controlling the generated timing output signals. Programming this register to a non-zero value will over-ride the internal pixel-based counter. The counter reset will occur every Output_H_Reset lines instead of on a frame basis. This register is programmed when manually programming the internal video genlock block. The default value of this register will vary depending on the output video standard selected. Reference: Section 3.6.2 on page 54
R/W
-
36655 - 2
April 2006
82 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Output_FV_Reset
Address
18h
Bit
15-0
Description
When the output is genlocked to the input, the input reference is used to reset the frame-based counter controlling the generated timing output signals. Programming this register to a non-zero value will over-ride the internal frame-based counter. The counter reset will occur every Output_FV_Reset input frames. This register is programmed when manually programming the internal video genlock block. NOTE: Once this register is programmed, it must be updated using register 19h. The default value of this register will vary depending on the output video standard selected. Reference: Section 3.6.2 on page 54
R/W
R/W
Default
-
Frame_Divider_Reset
19h 19h
15-2 1
Reserved. Set these bits to zero when writing to 19h. Ref_F_Sync - when Ref_F_Mode (bit 0 of 19h) is set HIGH, this bit is used to initialize the frame-based counter reset programmed in 18h. The reset pulse is generated if this bit is pulsed (LOW to HIGH to LOW) during the output frame immediately prior to the frame the reset is to occur. This register is programmed when manually programming the internal video genlock block. Reference: Section 3.6.2 on page 54
- R/W
- 0
19h
0
Ref_F_Mode - set this bit HIGH to initialize the frame-based reset via the host interface (using bit 1 above). Reference: Section 3.6.2 on page 54
R/W
0
36655 - 2
April 2006
83 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
10FID_AFS_Reset
Address
1Ah 1Ah
Bit
15-4 3
Description
Reserved. Set these bits to zero when writing to 1Ah. AFS_Reset (GS4911B only) - set this bit HIGH to use Reset_Sync (bit 0 of register 1Ah) to reset the output AFS pulse. NOTE: This bit will remain LOW in the GS4910B. Set this bit LOW when writing to address 1Ah of the GS4910B. Reference: Section 3.7.2.1 on page 65
R/W
- R/W
Default
- 0
1Ah
2
10FID_Reset - set this bit HIGH to use Reset_Sync (bit 0 of register 1Ah) to reset the output 10FID pulse. NOTE: If a 10FID input signal is not provided to the device, the user must generate a reset using this bit to initiate the 10FID timing output. In this case, the 10FID input pin must be grounded. Reference: Section 3.7.2.1 on page 65
R/W
0
1Ah 1Ah
1 0
Reserved. Set this bit to zero when writing to 1Ah. Reset_Sync - resets the pulses described in bits 2, and 3 above. The reset pulse is generated if this bit is pulsed (LOW to HIGH to LOW) during the output frame immediately prior to the frame the reset is to occur. This reset will operate independently of any other resets, for example from the reference input.
- R/W
- 0
H_Offset
1Bh
15-0
The output H signal may be delayed with respect to the input reference by the number of pixels programmed in this register. (See Section 3.2.1.1 on page 37). The value programmed in this register should not exceed the maximum number of clock periods per line of the outgoing standard. Horizontal advances may be achieved by programming a value equal to the maximum allowable offset minus the desired advance. NOTE: This register is internally read by the device once per field. At that time any new value programmed is sent to the internal offset circuitry. Reference: Section 3.2.1.1 on page 37
R/W
0
V_Offset
1Ch
15-0
The output V signal may be delayed with respect to the input reference by the number of lines programmed in this register. (See Section 3.2.1.1 on page 37). The value programmed in this register should not exceed the maximum number of lines per frame of the outgoing standard. Vertical advances may be achieved by programming a value equal to the maximum allowable offset minus the desired advance. NOTE: This register is internally read by the device once per field. At that time any new value programmed is sent to the internal offset circuitry. Reference: Section 3.2.1.1 on page 37
R/W
0
36655 - 2
April 2006
84 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Clock_Phase_Offset
Address
1Dh
Bit
15-0
Description
Phase_Offset - The output clock and data phase may be offset with respect to the input reference by the number of increments programmed in this register. The increment step size depends on the video clock frequency. The encoding scheme for this register is shown in Table 3-1. NOTE: This register must be cleared to achieve a clock phase offset of zero. Reference: Section 3.2.1.1 on page 37
R/W
R/W
Default
0
Max_Ref_Delta
1Eh
15-0
The value programmed in this register controls the allowed deviance from the expected frequency on the reference HSYNC before the internal video PLL loses lock. The encoding scheme is shown in Table 3-3. Reference: Section 3.5.4 on page 49
R/W
000Bh
Video_Status
1Fh 1Fh
15-5 4
Reserved. Ref_H_Polarity - status register to indicate the detected H Sync polarity ('1' for positive, '0' for negative). This bit will be zero when no reference signal is present. Reference: Section 3.4.3 on page 45
- R
- N/A
1Fh
3
Ref_V_Polarity - status register to indicate the detected V Sync polarity ('1' for positive, '0' for negative). This bit will be zero when no reference signal is present and for digital blanking input references. Reference: Section 3.4.3 on page 45
R
N/A
1Fh
2
Ref_Blank_Timing - status register to indicate the input detection of H blanking vs. H sync timing (`1' for blanking, '0' for sync timing). This bit will be zero when no reference signal is present. Reference: Section 3.4.3 on page 45
R
N/A
1Fh
1
A_pll_Lock (GS4911B only)- this bit will be HIGH when the generated audio clock is locked to the video clock reference. NOTE: This bit will remain high in the GS4910B. Reference: bit 1 of register 15h.
R
N/A
1Fh
0
V_pll_Lock - this bit will be HIGH when the generated video clock is locked to the H Sync input reference. Reference: bit 1 of register 15h.
R
N/A
36655 - 2
April 2006
85 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Nv
Address
21h-20h
Bit
31-0
Description
A non-zero number programmed in this register defines the numerator for the ratio of the video clock to the 27MHz reference. This register can be used for creating custom video clock frequencies. NOTE: Once this register is programmed, it must be updated using bit 6 of register 16h. The default value of this register will vary depending on the output video standard selected. Address 20h = bits 15-0 Address 21h = bits 31-16 Reference: Section 3.9.1 on page 72
R/W
R/W
Default
-
Dv
23h-22h
31-0
A non-zero number programmed in this register defines the denominator for the ratio of the video clock to the 27MHz reference. This register can be used for creating custom video clock frequencies. NOTE: Once this register is programmed, it must be updated using bit 6 of register 16h. The default value of this register will vary depending on the output video standard selected. Address 22h = bits 15-0 Address 23h = bits 31-16 Reference: Section 3.9.1 on page 72
R/W
-
36655 - 2
April 2006
86 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Constcf_Genlock
Address
24h
Bit
15-8
Description
Crash_Time - controls the crash lock period of video PLL locking process. This time contributes to the total PLL Lock Time given in the AC Characteristics Table. The time of the crash process in H reference periods is determined by [Crash_Time x 4] + 1. The default value of these bits will vary depending on the output video standard selected. Reference: Section 3.6.3 on page 58
R/W
R/W
Default
-
24h
7-3
Lock_Lost_Threshold - controls the threshold of the lock indication circuit. A larger value programmed in this register can increase the stability of the LOCK_LOST output signal when the input H reference signal is subject to large amounts of low frequency jitter. A larger value in this register will also increase the lock indication time, although not the actual lock time of the device. The default value of these bits will vary depending on the output video standard selected.
R/W
-
24h
2-0
Run_Window - controls the output frequency error in the case of a missing or mis-timed H reference transition. The default value of this register allows the device to maintain genlock through one missing input H pulse. This feature can be disabled by programming Run_Window = 000b. In this case, the device will immediately react to any disturbance of the input H signal. The default value of these bits will vary depending on the output video standard selected. Reference: Section 3.5.3 on page 47
R/W
-
RSVD Video_Cap_Genlock
25h 26h 26h
- 15-6 5-0
Reserved. Reserved. Set these bits to zero when writing to 26h. Control signal to adjust loop bandwidth of video genlock block. The value programmed in this register must be between 10 and Video_Res_Genlock - 21. The default value of this register will vary depending on the output video standard selected. Reference: Section 3.6.4 on page 58
- - R/W
- - -
Video_Res_Genlock
27h 27h
15-6 5-0
Reserved. Set these bits to zero when writing to 27h. Control signal to adjust loop bandwidth of video genlock block. The value programmed in this register must be between 32 and 42. The default value of this register will vary depending on the output video standard selected. Reference: Section 3.6.4 on page 58
- R/W
- -
36655 - 2
April 2006
87 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
H_Feedback_Divide
Address
29h-28h
Bit
31-0
Description
In the internal video genlock block, this register defines the numerator of the divide ratio. This register may be programmed to manually genlock the output to the input reference. The default value of this register will vary depending on the output video standard selected. Address 28h = bits 15-0 Address 29h = bits 31-16 Reference: Section 3.6.2.1 on page 54
R/W
R/W
Default
-
H_Reference_Divide
2Bh-2Ah
31-0
In the internal video genlock block, this register defines the denominator of the divide ratio. This register may be programmed to manually genlock the output to the input reference. The default value of this register will vary depending on the output video standard selected. Address 2Ah = bits 15-0 Address 2Bh = bits 31-16 Reference: Section 3.6.2.1 on page 54
R/W
-
PCLK1_Phase/Divide
2Ch 2Ch
15-7 6
Reserved. Set these bits to zero when writing to 2Ch. Current_P1 - selects the current drive capability of the PCLK1 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. NOTE: The current drive should be set high if PCLK1 is greater than 100MHz. Reference: Section 3.7.1 on page 61
- R/W
- 0
2Ch
5-2
PCLK1_Phase - adjusts the output phase of the PCLK1 clock with respect to the timing output pins. Phase is delayed in 700ps (nominal) increments as shown in Table 3-6. Reference: Section 3.7.1 on page 61
R/W
0
2Ch
1
Divide_By_4 - set this bit HIGH to divide the output PCLK1 by four. NOTE: Setting this bit and bit 0 simultaneously HIGH will hold the PCLK1 pin LOW. Reference: Section 3.7.1 on page 61
R/W
0
2Ch
0
Divide_By_2 - set this bit HIGH to divide the output PCLK1 by two. NOTE: Setting this bit and bit 1 simultaneously HIGH will hold the PCLK1 pin LOW. Reference: Section 3.7.1 on page 61
R/W
0
36655 - 2
April 2006
88 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
PCLK2_Phase/Divide
Address
2Dh 2Dh
Bit
15-7 6
Description
Reserved. Set these bits to zero when writing to 2Dh. Current_P2 - selects the current drive capability of the PCLK2 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. NOTE: The current drive should be set high if PCLK2 is greater than 100MHz. Reference: Section 3.7.1 on page 61
R/W
- R/W
Default
- 0
2Dh
5-2
PCLK2_Phase - adjusts the output phase of the PCLK2 clock with respect to the timing output pins. Phase is delayed in 700ps (nominal) increments as shown in Table 3-6. Reference: Section 3.7.1 on page 61
R/W
0
2Dh
1
Divide_By_4 - set this bit HIGH to divide the output PCLK2 by four. NOTE: Setting this bit and bit 0 simultaneously HIGH will hold the PCLK2 pin LOW. Reference: Section 3.7.1 on page 61
R/W
0
2Dh
0
Divide_By_2 - set this bit HIGH to divide the output PCLK2 by two. NOTE: Setting this bit and bit 1 simultaneously HIGH will hold the PCLK2 pin LOW. Reference: Section 3.7.1 on page 61
R/W
0
PCLK3_Phase/Divide
2Eh 2Eh
15-6 5-2
Reserved. Set these bits to zero when writing to 2Eh. PCLK3_Phase - adjusts the output phase of the PCLK3/PCLK3 clock with respect to the timing output pins. Phase is delayed in 700ps (nominal) increments as shown in Table 3-6. Reference: Section 3.7.1 on page 61
- R/W
- 0
2Eh
1
Divide_By_4 - set this bit HIGH to divide the output PCLK3/PCLK3 by four. Setting this bit and bit 0 simultaneously HIGH will give the full rate video clock on the PCLK3 / PCLK3 pins. Reference: Section 3.7.1 on page 61
R/W
0
2Eh
0
Divide_By_2 - set this bit HIGH to divide the output PCLK3/PCLK3 by two. Setting this bit and bit 1 simultaneously HIGH will give the full rate video clock on the PCLK3 / PCLK3 pins. Reference: Section 3.7.1 on page 61
R/W
0
PCLK3_Tristate
2Fh 2Fh
15-2 1-0
Reserved. Set these bits to zero when writing to 2Fh. Set these bits to 11b to tristate the PCLK3 / PCLK3 pins. Reference: Section 3.7.1 on page 61
- R/W
- 00b
RSVD
2Fh - 30h
-
Reserved.
-
-
36655 - 2
April 2006
89 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Audio_Control (GS4911B only)
Address
31h 31h
Bit
15-10 9-7
Description
Reserved. Set these bits to zero when writing to 31h. AFS_Reset_Window - These bits may be used to adjust the value by which the audio clock counters are allowed to drift from the output AFS pulse. The encoding scheme for this register is shown in Table 3-9. NOTE: The default setting of this register will provide a reset window that is sufficient for most standards. To maintain correct audio clock frequencies for some VESA standards, the reset window may have to be increased from its default setting. In this case, set the value of this register to 1XX. See Table 3-9. Reference: Section 3.7.2 on page 63
R/W
- R/W
Default
- 010b
31h
6
Update_Custom_A_Clock - this bit is used to update the custom audio clock parameters programmed in registers 33h to 36h of the host interface. All non-zero parameters in these registers will be updated via a LOW to HIGH transition on this bit. Enable_384fs - set this bit HIGH to enable the 384fs and 192fs audio clock outputs. This must be set in addition to registers 3Fh to 41h. NOTE: If this bit is HIGH, then a 512fs audio clock will have a 33% duty cycle when fs = 96kHz. Reference: Section 3.7.2 on page 63
R/W
0
31h
5
R/W
0
31h 31h
4-3 2
Reserved. Set these bits to zero when writing to 31h. Host_ASR_SEL - set this bit HIGH to select the audio sample rate using register 32h instead of the external ASR_SEL[2:0] pins. The external ASR_SEL[2:0] pins will be ignored, but should not be left floating. Reference: Section 3.7.2 on page 63
- R/W
- 0
31h
1
AFS_F_Pulse - set this bit to 1 to stretch the AFS pulse duration from 1 line to 1 field. Reference: Section 3.8.2 on page 68
R/W
0
31h
0
AFS_Reset_Disable - set this bit HIGH to disable the 10FID input reference pin from resetting the output AFS pulse. If this bit is set HIGH, the output AFS pulse will free-run or may be reset using register 1Ah. The external 10FID pin should not be left floating. Reference: Section 3.8.2 on page 68
R/W
0
ASR_SEL[2:0] (GS4911B only)
32h 32h
15-3 2-0
Reserved. Set these bits to zero when writing to 32h. Replaces the external ASR_SEL[2:0] pins when Host_ASR_Select (bit 2 of address 31h) is HIGH. The default setting of this register corresponds to an audio sample rate of 48kHz. Reference: Section 3.7.2 on page 63
- R/W
- 011b
36655 - 2
April 2006
90 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Na (GS4911B only)
Address
34h-33h
Bit
31-0
Description
A non-zero number programmed in this register defines the numerator for the ratio of the audio clock to the 27MHz reference. NOTE: Once this register is programmed, it must be updated using bit 6 of register 31h. The default value of this register will vary depending on the output audio rate selected. Address 33h = bits 15-0 Address 34h = bits 31-16 Reference: Section 3.9.2 on page 73.
R/W
R/W
Default
-
Da (GS4911B only)
36h-35h
31-0
A non-zero number programmed in this register defines the denominator for the ratio of the audio clock to the 27MHz reference. NOTE: Once this register is programmed, it must be updated using bit 6 of register 31h. The default value of this register will vary depending on the output audio rate selected. Address 35h = bits 15-0 Address 36h = bits 31-16 Reference: Section 3.9.2 on page 73.
R/W
-
RSVD Audio_Cap_Genlock (GS4911B only)
37h - 38h 39h 39h
- 15-6 5-0
Reserved. Reserved. Set these bits to zero when writing to 39h. Control signal to adjust loop bandwidth of audio genlock block. The value programmed in this register must be between 10 and Audio_Res_Genlock - 21. The default value of this register will depend on the fundamental sampling frequency selected. Reference: Section 3.6.4 on page 58
- - R/W
- - -
Audio_Res_Genlock (GS4911B only)
3Ah 3Ah
15-6 5-0
Reserved. Set these bits to zero when writing to 3Ah. Control signal to adjust loop bandwidth of audio genlock block. The value programmed in this register must be between 32 and 42. The default value of this register will depend on the fundamental sampling frequency selected. Reference: Section 3.6.4 on page 58
- R/W
- -
A_Feedback_Divide (GS4911B only)
3Ch-3Bh
31-0
In the internal audio genlock block, this register defines the numerator of the divide ratio. This register may be programmed to manually genlock the audio clock to the video clock. The default value of this register will vary depending on the output video standard selected. Address 3Bh = bits 15-0 Address 3Ch = bits 31-16 Reference: Section 3.6.2.2 on page 56
R/W
-
36655 - 2
April 2006
91 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
A_Reference_Divide (GS4911B only)
Address
3Eh-3Dh
Bit
31-0
Description
In the internal audio genlock block, this register defines the denominator of the divide ratio. This register may be programmed to manually genlock the audio clock to the video clock. The default value of this register will vary depending on the output video standard selected. Address 3Dh = bits 15-0 Address 3Eh = bits 31-16 Reference: Section 3.6.2.2 on page 56
R/W
R/W
Default
-
ACLK1_fs_Multiple (GS4911B only)
3Fh 3Fh
15-3 2-0
Reserved. Set these bits to zero when writing to 3Fh. The user may set this register to select the desired frequency of the audio clock on ACLK1 (a multiple of the fundamental sampling rate, fs). The audio clock frequency may be set as: 512fs, 384fs, 256fs, 192fs, 128fs, 64fs, fs, or z-bit. See Table 3-8 for more details. NOTE: To output a frequency of 348fs or 192fs, bit 5 of register 31h must also be set HIGH. Reference: Section 3.7.2 on page 63
- R/W
- 0
ACLK2_fs_Multiple (GS4911B only)
40h 40h
15-3 2-0
Reserved. Set these bits to zero when writing to 40h. The user may set this register to select the desired frequency of the audio clock on ACLK2 (a multiple of the fundamental sampling rate, fs). The audio clock frequency may be set as: 512fs, 384fs, 256fs, 192fs, 128fs, 64fs, fs, or z-bit. See Table 3-8 for more details. NOTE: To output a frequency of 348fs or 192fs, bit 5 of register 31h must also be set HIGH. Reference: Section 3.7.2 on page 63
- R/W
- 0
ACLK3_fs_Multiple (GS4911B only)
41h 41h
15-3 2-0
Reserved. Set these bits to zero when writing to 41h. The user may set this register to select the desired frequency of the audio clock on ACLK3 (a multiple of the fundamental sampling rate, fs). The audio clock frequency may be set as: 512fs, 384fs, 256fs, 192fs, 128fs, 64fs, fs, or z-bit. See Table 3-8 for more details. NOTE: To output a frequency of 348fs or 192fs, bit 5 of register 31h must also be set HIGH. Reference: Section 3.7.2 on page 63
- R/W
- 0
RSVD
42h
-
Reserved.
-
-
36655 - 2
April 2006
92 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Output_Select_1
Address
43h 43h
Bit
15-5 4
Description
Reserved. Set these bits to zero when writing to 43h. Current_1 - selects the current drive capability of the TIMING_OUT_1 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. Reference: Section 3.8.4 on page 71
R/W
- R/W
Default
- 0
43h
3-0
This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_1 pin. See Table 3-11 for more details. Note: The default setting of this register is 0001b, which corresponds to H Sync. Reference: Section 3.8.4 on page 71
R/W
0001b
Output_Select_2
44h 44h
15-5 4
Reserved. Set these bits to zero when writing to 44h. Current_2 - selects the current drive capability of the TIMING_OUT_2 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. Reference: Section 3.8.4 on page 71
- R/W
- 0
44h
3-0
This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_2 pin. See Table 3-11 for more details. Note: The default setting of this register is 0010b, which corresponds to H Blanking. Reference: Section 3.8.4 on page 71
R/W
0010b
Output_Select_3
45h 45h
15-5 4
Reserved. Set these bits to zero when writing to 45h. Current_3 - selects the current drive capability of the TIMING_OUT_3 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. Reference: Section 3.8.4 on page 71
- R/W
- 0
45h
3-0
This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_3 pin. See Table 3-11 for more details. Note: The default setting of this register is 0011b, which corresponds to V Sync. Reference: Section 3.8.4 on page 71
R/W
0011b
Output_Select_4
46h 46h
15-5 4
Reserved. Set these bits to zero when writing to 46h. Current_4 - selects the current drive capability of the TIMING_OUT_4 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. Reference: Section 3.8.4 on page 71
- R/W
- 0
46h
3-0
This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_4 pin. See Table 3-11 for more details. Note: The default setting of this register is 0100b, which corresponds to V Blanking. Reference: Section 3.8.4 on page 71
R/W
0100b
36655 - 2
April 2006
93 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Output_Select_5
Address
47h 47h
Bit
15-5 4
Description
Reserved. Set these bits to zero when writing to 47h. Current_5 - selects the current drive capability of the TIMING_OUT_5 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. Reference: Section 3.8.4 on page 71
R/W
- R/W
Default
- 0
47h
3-0
This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_5 pin. See Table 3-11 for more details. Note: The default setting of this register is 0101b, which corresponds to F Sync. Reference: Section 3.8.4 on page 71
R/W
0101b
Output_Select_6
48h 48h
15-5 4
Reserved. Set these bits to zero when writing to 48h. Current_6 - selects the current drive capability of the TIMING_OUT_6 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. Reference: Section 3.8.4 on page 71
- R/W
- 0
48h
3-0
This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_6 pin. See Table 3-11 for more details. Note: The default setting of this register is 0110b, which corresponds to F Digital. Reference: Section 3.8.4 on page 71
R/W
0110b
Output_Select_7
49h 49h
15-5 4
Reserved. Set these bits to zero when writing to 49h. Current_7 - selects the current drive capability of the TIMING_OUT_7 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. Reference: Section 3.8.4 on page 71
- R/W
- 0
49h
3-0
This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_7 pin. See Table 3-11 for more details. Note: The default setting of this register is 0111b, which corresponds to 10FID. Reference: Section 3.8.4 on page 71
R/W
0111b
Output_Select_8
4Ah 4Ah
15-5 4
Reserved. Set these bits to zero when writing to 4Ah. Current_8 - selects the current drive capability of the TIMING_OUT_8 pin. Set this bit HIGH for high current drive. Otherwise, the current drive will be low. Reference: Section 3.8.4 on page 71
- R/W
- 0
4Ah
3-0
This register is used to select one of the 10 pre-programmed or 4 user programmed timing signals available for output on the TIMING_OUT_8 pin. See Table 3-11 for more details. Note: The default setting of this register is 1000b, which corresponds to Display Enable (DE). Reference: Section 3.8.4 on page 71
R/W
1000b
36655 - 2
April 2006
94 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
RSVD Video_Control
Address
4Bh 4Ch 4Ch
Bit
- 15-5 4
Description
Reserved. Reserved. Set these bits to zero when writing to 4Ch. 10FID_F_pulse - set this bit HIGH to stretch the 10FID pulse duration from 1 line to 1 field. Reference: Section 3.8.1 on page 67
R/W
- - R/W
Default
- - 0
4Ch 4Ch
3-2 1
Reserved. Set these bits to zero when writing to 4Ch. Host_VID_STD - set this bit HIGH to select the output video standard using register 4Dh instead of the external VID_STD[5:0] pins. The external VID_STD[5:0] pins will be ignored, but should not be left floating. Reference: Section 1.4 on page 20
- R/W
- 0
4Ch VID_STD[5:0] 4Dh 4Dh
0 15-6 5-0
Reserved. Set this bit to zero when writing to 4Ch. Reserved. Set these bits to zero when writing to 4Dh. Replaces the external VID_STD[5:0] pins when VID_From_Host (bit 1 of address 4Ch) is HIGH. Reference: Section 1.4 on page 20
- - R/W
- - 00h
Clocks_Per_Line
4Eh
15-0
Contains the number of output video clock cycles per line for the selected output timing format. If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. Reference: Section 3.10 on page 74
R/W
-
Clocks_Per_Hsync
4Fh
15-0
Contains the number of output video clock cycles in the active H Sync interval for the selected output timing format. If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. Reference: Section 3.10 on page 74
R/W
-
Hsync_To_SAV
50h
15-0
Contains the number of output video clock cycles from the start of H Sync to the start of active video for the selected output timing format. If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. Reference: Section 3.10 on page 74
R/W
-
Hsync_To_EAV
51h
15-0
Contains the number of output video clock cycles from the start of H Sync to the end of active video for the selected output timing format. If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. Reference: Section 3.10 on page 74
R/W
-
36655 - 2
April 2006
95 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Lines_Per_Field
Address
52h
Bit
15-0
Description
Contains the number of lines per field for the selected output timing format. This register is 15.1 encoded (i.e. bit 0 represents 0.5 when set HIGH and 0 when set LOW). If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. NOTE: When bit 0 of this register is programmed HIGH, the device assumes an interlaced output. Otherwise it assumes a progressive output. For example, programming `262.5'd will result in an interlaced output standard with 525 lines per frame. Programming `525'd will result in a progressive output with 525 lines per frame. Reference: Section 3.10 on page 74
R/W
R/W
Default
-
Lines_Per_Vsync
53h
15-0
Contains the number of lines per active V Sync interval for the selected output timing format. This register is 15.1 encoded (i.e. bit 0 represents '0.5' when set HIGH and '0' when set LOW). If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. Reference: Section 3.10 on page 74
R/W
-
Vsync_To_First_Active_Line
54h
15-0
Contains the number of lines from the start of V Sync to the start of active video for the selected output timing format. This register is 15.1 encoded (i.e. bit 0 represents '0.5' when set HIGH and '0' when set LOW). If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. NOTE1: The value programmed in this register will be increased by 1 by the device such that V Blanking signal generated will be one line longer than programmed. NOTE2: For the pre-programmed output video standards 3, 5, and 7, the value contained in this register is incorrectly reported as 17 lines, although the actual timing produced is correct at 16 lines. Reference: Section 3.10 on page 74
R/W
-
Vsync_To_Last_Active_Line
55h
15-0
Contains the number of lines from the start of V Sync to the end of active video for the selected output timing format. This register is 15.1 encoded (i.e. bit 0 represents '0.5' when set HIGH and '0' when set LOW). If VID_STD[5:0] = 62, this register may be set by the user when programming custom output timing signals. Otherwise, this register is read-only. NOTE: The user cannot specify a custom vertical blanking signal to end in the middle of a line. If this occurs, the device will automatically adjust the timing of the signal to fall at the beginning of the next line. Reference: Section 3.10 on page 74
R/W
-
36655 - 2
April 2006
96 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Polarity
Address
56h 56h
Bit
15-10 9
Description
Reserved. Set these bits to zero when writing to 56h. AFS (GS4911B only)- set this bit HIGH to invert the polarity of the AFS timing output signal. By default, the AFS signal is HIGH for the duration of the first line of the n'th video frame to indicate that the ACLK dividers have been reset at the start of line 1 of that frame. NOTE: The GS4910B does not generate an AFS pulse and will ignore the setting of this bit. Reference: Table 1-3
R/W
- R/W
Default
- 0
56h
8
10FID - set this bit HIGH to invert the polarity of the 10FID timing output signal. By default, the 10FID signal will go HIGH for one line at the start of the 10-field sequence. Reference: Table 1-3
R/W
0
56h
7
DE - set this bit HIGH to invert the polarity of the DE timing output signal. By default, the DE signal will be HIGH whenever pixel information is to be displayed on the display device Reference: Table 1-3
R/W
0
56h 56h
6 5
Reserved. Set this bit to zero when writing to 56h. F_Digital - set this bit HIGH to invert the polarity of the F Digital timing output signal. By default, the F Digital signal will be LOW for the entire period of field 1. Reference: Table 1-3
- R/W
- 0
56h
4
F_Sync - set this bit HIGH to invert the polarity of the F Sync timing output signal. By default, the F Sync signal will be HIGH for the entire period of field 1. Reference: Table 1-3
R/W
0
56h
3
V_Blanking - set this bit HIGH to invert the polarity of the V Blanking timing output signal. By default, the V Blanking signal will be LOW for the portion of the field/frame containing valid video data. Reference: Table 1-3
R/W
0
36655 - 2
April 2006
97 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name Address
56h
Bit
2
Description
V_Sync - set this bit HIGH to invert the polarity of the V Sync timing output signal. By default, the V Sync signal is active LOW. Reference: Table 1-3
R/W
R/W
Default
0
56h
1
H_Blanking - set this bit HIGH to invert the polarity of the H Blanking timing output signal. By default, the H Blanking signal will be LOW for the portion of the video line containing valid video samples. Reference: Table 1-3
R/W
0
56h
0
H_Sync - set this bit HIGH to invert the polarity of the H Sync timing output signal. By default, the H Sync signal is active LOW. Reference: Table 1-3
R/W
0
H_Start_1
57h
15-0
The value programmed in this register indicates the pixel start point for the leading edge of the user-programmed H Sync signal USER1_H. NOTE: The value programmed in this register must be less than the value programmed in H_Stop_1. Reference: Section 3.8.3 on page 69
R/W
0
H_Stop_1
58h
15-0
The value programmed in this register indicates the pixel end point for the trailing edge of the user-programmed H Sync signal USER1_H. NOTE: The value programmed in this register must not exceed the maximum number of clock periods per line of the outgoing standard. Reference: Section 3.8.3 on page 69
R/W
0
V_Start_1
59h 59h
15 14-0
Reserved. Set this bit to zero when writing to 59h. The value programmed in this register indicates the start line number of the leading edge of the user-programmed V Sync signal USER1_V. For interlaced output standards, this value corresponds to the odd field number. NOTE: The value programmed in this register must be less than the value programmed in V_Stop_1. Reference: Section 3.8.3 on page 69
- R/W
- 0
V_Stop_1
5Ah 5Ah
15 14-0
Reserved. Set this bit to zero when writing to 5Ah. The value programmed in this register indicates the end line number of the trailing edge of the user-programmed V Sync signal USER1_V. For interlaced output standards, this value corresponds to the odd field number. NOTE: The value programmed in this register must not exceed the maximum number of lines per field of the outgoing standard. Reference: Section 3.8.3 on page 69
- R/W
- 0
36655 - 2
April 2006
98 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Operator_Polarity_1
Address
5Bh 5Bh
Bit
15-4 3
Description
Reserved. Set these bits to zero when writing to 5Bh. Polarity_1 - Use this bit to invert the polarity of the final USER1 signal. By default, the polarity of the user programmed signals is active LOW. The polarity may be switched to active HIGH by setting this bit LOW. Reference: Section 3.8.3 on page 69
R/W
- R/W
Default
- 1
5Bh
2
AND_1 - logical operator: USER1_H AND USER1_V Set this bit HIGH to output a signal that is only active when both USER1_H and USER1_V are active. When this bit is HIGH, bit 1 and bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69
R/W
0
5Bh
1
OR_1 - logical operator: USER1_H OR USER1_V Set this bit HIGH to output a signal that is active whenever USER1_H or USER1_V are active. When this bit is HIGH bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69
R/W
0
5Bh
0
XOR_1 - logical operator: USER1_H XOR USER1_V Set this bit HIGH to output a signal with the following attributes: Signal becomes active when either USER1_H or USER1_V is active. Signal is inactive when USER1_H and USER1_V are both active or both inactive. Reference: Section 3.8.3 on page 69
R/W
0
H_Start_2
5Ch
15-0
The value programmed in this register indicates the pixel start point for the leading edge of the user-programmed H Sync signal USER2_H. NOTE: The value programmed in this register must be less than the value programmed in H_Stop_2 Reference: Section 3.8.3 on page 69
R/W
0
H_Stop_2
5Dh
15-0
The value programmed in this register indicates the pixel end point for the trailing edge of the user-programmed H Sync signal USER2_H. NOTE: The value programmed in this register must not exceed the maximum number of clock periods per line of the outgoing standard. Reference: Section 3.8.3 on page 69
R/W
0
V_Start_2
5Eh 5Eh
15 14-0
Reserved. Set this bit to zero when writing to 5Eh. The value programmed in this register indicates the start line number of the leading edge of the user-programmed V Sync signal USER2_V. For interlaced output standards, this value corresponds to the odd field line number. NOTE: The value programmed in this register must be less than the value programmed in V_Stop_2. Reference: Section 3.8.3 on page 69
- R/W
- 0
36655 - 2
April 2006
99 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
V_Stop_2
Address
5Fh 5Fh
Bit
15 14-0
Description
Reserved. Set this bit to zero when writing to 5Fh. The value programmed in this register indicates the end line number of the trailing edge of the user-programmed V Sync signal USER2_V. For interlaced output standards, this value corresponds to the odd field line number. NOTE: The value programmed in this register must not exceed the maximum number of lines per field of the outgoing standard. Reference: Section 3.8.3 on page 69
R/W
- R/W
Default
- 0
Operator_Polarity_2
60h 60h
15-4 3
Reserved. Set these bits to zero when writing to 60h. Polarity_2 - Use this bit to invert the polarity of the final USER2 signal. By default, the polarity of the user programmed signals is active LOW. The polarity may be switched to active HIGH by setting this bit LOW. Reference: Section 3.8.3 on page 69
- R/W
- 1
60h
2
AND_2 - logical operator: USER2_H AND USER2_V Set this bit HIGH to output a signal that is only active when both USER2_H and USER2_V are active. When this bit is HIGH, bit 1 and bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69
R/W
0
60h
1
OR_2 - logical operator: USER2_H OR USER2_V Set this bit HIGH to output a signal that is active whenever USER2_H or USER2_V are active. When this bit is HIGH bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69
R/W
0
60h
0
XOR_2 - logical operator: USER2_H XOR USER2_V Set this bit HIGH to output a signal with the following attributes: Signal becomes active when either USER2_H or USER2_V is active. Signal is inactive when USER2_H and USER2_V are both active or both inactive. Reference: Section 3.8.3 on page 69
R/W
0
H_Start_3
61h
15-0
The value programmed in this register indicates the pixel start point for the leading edge of the user-programmed H Sync signal USER3_H. NOTE: The value programmed in this register must be less than the value programmed in H_Stop_3. Reference: Section 3.8.3 on page 69
R/W
0
H_Stop_3
62h
15-0
The value programmed in this register indicates the pixel end point for the trailing edge of the user-programmed H Sync signal USER3_H. NOTE: The value programmed in this register must not exceed the maximum number of clock periods per line of the outgoing standard. Reference: Section 3.8.3 on page 69
R/W
0
36655 - 2
April 2006
100 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
V_Start_3
Address
63h 63h
Bit
15 14-0
Description
Reserved. Set this bit to zero when writing to 63h. The value programmed in this register indicates the start line number of the leading edge of the user-programmed V Sync signal USER3_V. For interlaced output standards, this value corresponds to the odd field line number. NOTE: The value programmed in this register must be less than the value programmed in V_Stop_3. Reference: Section 3.8.3 on page 69
R/W
- R/W
Default
- 0
V_Stop_3
64h 64h
15 14-0
Reserved. Set this bit to zero when writing to 64h. The value programmed in this register indicates the end line number of the trailing edge of the user-programmed V Sync signal USER3_V. For interlaced output standards, this value corresponds to the odd field line number. NOTE: The value programmed in this register must not exceed the maximum number of lines per field of the outgoing standard. Reference: Section 3.8.3 on page 69
- R/W
- 0
Operator_Polarity_3
65h 65h
15-4 3
Reserved. Set these bits to zero when writing to 65h. Polarity_3 - Use this bit to invert the polarity of the final USER3 signal. By default, the polarity of the user programmed signals is active LOW. The polarity may be switched to active HIGH by setting this bit LOW. Reference: Section 3.8.3 on page 69
- R/W
- 1
65h
2
AND_3 - logical operator: USER3_H AND USER3_V Set this bit HIGH to output a signal that is only active when both USER3_H and USER3_V are active. When this bit is HIGH, bit 1 and bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69
R/W
0
65h
1
OR_3 - logical operator: USER3_H OR USER3_V Set this bit HIGH to output a signal that is active whenever USER3_H or USER3_V are active. When this bit is HIGH bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69
R/W
0
65h
0
XOR_3 - logical operator: USER3_H XOR USER3_V Set this bit HIGH to output a signal with the following attributes: Signal becomes active when either USER3_H or USER3_V is active. Signal is inactive when USER3_H and USER3_V are both active or both inactive. Reference: Section 3.8.3 on page 69
R/W
0
36655 - 2
April 2006
101 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
H_Start_4
Address
66h
Bit
15-0
Description
The value programmed in this register indicates the pixel start point for the leading edge of the user-programmed H Sync signal USER4_H. NOTE: The value programmed in this register must be less than the value programmed in H_Stop_4. Reference: Section 3.8.3
R/W
R/W
Default
0
H_Stop_4
67h
15-0
The value programmed in this register indicates the pixel end point for the trailing edge of the user-programmed H Sync signal USER4_H. NOTE: The value programmed in this register must not exceed the maximum number of clock periods per line of the outgoing standard. Reference: Section 3.8.3 on page 69
R/W
0
V_Start_4
68h 68h
15 14-0
Reserved. Set this bit to zero when writing to 68h. The value programmed in this register indicates the start line number of the leading edge of the user-programmed V Sync signal USER4_V. For interlaced output standards, this value corresponds to the odd field line number. NOTE: The value programmed in this register must be less than the value programmed in V_Stop_4. Reference: Section 3.8.3 on page 69
- R/W
- 0
V_Stop_4
69h 69h
15 14-0
Reserved. Set this bit to zero when writing to 69h. The value programmed in this register indicates the end line number of the trailing edge of the user-programmed V Sync signal USER4_V. For interlaced output standards, this value corresponds to the odd field line number. NOTE: The value programmed in this register must not exceed the maximum number of lines per field of the outgoing standard. Reference: Section 3.8.3 on page 69
- R/W
- 0
36655 - 2
April 2006
102 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Operator_Polarity_4
Address
6Ah 6Ah
Bit
15-4 3
Description
Reserved. Set these bits to zero when writing to 6Ah. Polarity_4 - Use this bit to invert the polarity of the final USER4 signal. By default, the polarity of the user programmed signals is active LOW. The polarity may be switched to active HIGH by setting this bit LOW. Reference: Section 3.8.3 on page 69
R/W
- R/W
Default
- 1
6Ah
2
AND_4 - logical operator: USER4_H AND USER4_V Set this bit HIGH to output a signal that is only active when both USER4_H and USER4_V are active. When this bit is HIGH, bit 1 and bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69
R/W
0
6Ah
1
OR_4 - logical operator: USER4_H OR USER4_V Set this bit HIGH to output a signal that is active whenever USER4_H or USER4_V are active. When this bit is HIGH bit 0 of this register will be ignored. Reference: Section 3.8.3 on page 69
R/W
0
6Ah
0
XOR_4 - logical operator: USER4_H XOR USER4_V Set this bit HIGH to output a signal with the following attributes: Signal becomes active when either USER4_H or USER4_V is active. Signal is inactive when USER4_H and USER4_V are both active or both inactive. Reference: Section 3.8.3 on page 69
R/W
0
Ext_Audio_Mode
81h
15-0
Set this register to 20C1h to enable the Extended Audio Mode of the device. To fully enable this mode, VID_STD[5:0] must be set to 4d, and the F_Lock_Mask and V_Lock_Mask bits [4:3] of register address 16h must be set to 1. NOTE: Once this register is programmed, it must be updated using bit 6 of register 16h. Reference: Section 3.11 on page 75
R/W
0
36655 - 2
April 2006
103 of 113
GS4911B/GS4910B Data Sheet
Table 3-13: Configuration and Status Registers (Continued) Register Name
Ln_Count_Reset
Address
83h
Bit
15
Description
Toggle this bit to reset the line-based counters in the device. This is only required when locking the "f/1.001" HD output standards to the 525-line SD input reference standards, or vice-versa, AND: 1. The reference has been removed and subsequently re-applied. In this case, the user should wait until the reference has been re-detected by the device, which may take up to 4 frames. See Section 3.5.3 on page 47. OR 2. The device is locked to blanking signals from a deserializer, and the SDI input to the deserializer has been switched upstream from the system. See Section 3.6.5 on page 60.
R/W
R/W
Default
0
83h
14-0
Reserved. Set these bits to zero when writing to 83h.
-
-
36655 - 2
April 2006
104 of 113
GS4911B/GS4910B Data Sheet
3.13 JTAG
When the JTAG/HOST input pin of the GS4911B/GS4910B is set HIGH, the host interface port will be configured for JTAG test operation. In this mode, pins 57 through 60 become TCLK, TDI, TDO, and TMS. In addition, the RESET pin will operate as the test reset pin. Boundary scan testing using the JTAG interface will be enabled in this mode. There are two methods in which JTAG can be used on the GS4911B/GS4910B: 1. As a stand-alone JTAG interface to be used at in-circuit ATE (Automatic Test Equipment) during PCB assembly; or 2. Under control of the host for applications such as system power on self tests. When the JTAG tests are applied by ATE, care must be taken to disable any other devices driving the digital I/O pins. If the tests are to be applied only at ATE, this can be accomplished with high-impedance buffers used in conjunction with the JTAG/HOST input signal. This is shown in Figure 3-19.
Application HOST GS4911B/GS4910B
CS_TMS
SCLK_TCLK
SDIN_TDI
SDOUT_TDO JTAG/HOST
In-circuit ATE probe
Figure 3-19: In-Circuit JTAG
Alternatively, if the test capabilities are to be used in the system, the host may still control the JTAG/HOST input signal, but some means for tri-stating the host must exist in order to use the interface at ATE. This is represented in Figure 3-20.
36655 - 2
April 2006
105 of 113
GS4911B/GS4910B Data Sheet
Application HOST
GS4911B/GS4910B
CS_TMS
SCLK_TCLK
SDIN_TDI
SDOUT_TDO
Tri-State
In-circuit ATE probe
JTAG/HOST
Figure 3-20: System JTAG
3.14 Device Power-Up
3.14.1 Power Supply Sequencing
The GS4911B/GS4910B has a recommended power supply sequence. To ensure correct power-up, the ANALOG_VDD and CORE_VDD power pins should be powered before IO_VDD. Device pins may be driven prior to power-up without causing damage.
3.15 Device Reset
In order to initialize operating conditions to their default states, the application layer must hold the RESET signal LOW during power up and for a minimum of 500us after the last supply has reached its operating voltage.
36655 - 2
April 2006
106 of 113
GS4911B/GS4910B Data Sheet
4. Application Reference Design
4.1 GS4911B Typical Application Circuit
JTAG/HOSTb SCLK SDIN SDOUT CSb VDD_IO VDD_IO
10n 1V8_VPLL
10n 1V8_PCLK
10n
10n
GND_VPLL RESETb GENLOCKb
22R 22R
PCLK1 PCLK2 Controlled impedance 100-ohms differential
GENLOCK NC IO_VDD RESET CS_TMS SDOUT_TDO SDIN_TDI SCLK_TCLK JTAG/HOST PHS_GND PHS_VDD PCLK1&2_VDD PCLK1&2_GND PCLK1 IO_VDD PCLK2
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
LOCK_LOST REF_LOST
PCLK3 PCLK3b
1V8_PCLK 1V8_CORE 10n
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
1V8_VPLL 10n
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
VDD_IO
VDD_XTAL GND_VPLL
27MHz 38pF 1M 24pF 0R GND_XTAL GND_XTAL 10n
1V8_APLL
10n
LOCK_LOST REF_LOST VID_PLL_VDD VID_PLL_GND XTAL_VDD X1 X2 XTAL_GND CORE_GND ANALOG_VDD NC ANALOG_GND AUD_PLL_GND AUD_PLL_VDD 10FID HSYNC
GS4911B
LVDS/PCLK3_GND PCLK3 PCLK3 LVDS/PCLK3_VDD CORE_VDD TIMING_OUT8 TIMING_OUT7 TIMING_OUT6 TIMING_OUT5 TIMING_OUT4 IO_VDD TIMING_OUT3 TIMING_OUT2 TIMING_OUT1 ASR_SEL0 ASR_SEL1
10n
10n
22R 22R 22R 22R 22R 22R 22R 22R
TIMING8 TIMING7 TIMING6 TIMING5 TIMING4 TIMING3 TIMING2 TIMING1
GND_APLL The 10FID input must be grounded if it will not be used 10FID HSYNC VSYNC FSYNC VDD_IO
65
GND_PAD
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
VSYNC IO_VDD FSYNC NC VID_STD0 VID_STD1 VID_STD2 VID_STD3 VID_STD4 CORE_VDD VID_STD5 ACLK1 ACLK2 ACLK3 IO_VDD ASR_SEL2
22R 22R 22R
ACLK1 ACLK2 ACLK3
1V8_CORE NOTE: The GS4911A inputs are 5V tolerant for 3V3 I/O operation only (IO_VDD=3V3)
10n
10n
10n
VID_STD0 VID_STD1 VID_STD2 VID_STD3 VID_STD4 VID_STD5
ASR_SEL0 ASR_SEL1 ASR_SEL2
NOTE: For a solution with the lowest output jitter, the GS1531 or GS1532 serializers are recommended for use with the GS4911B/GS4910B.
36655 - 2
April 2006
107 of 113
GS4911B/GS4910B Data Sheet
4.2 GS4910B Typical Application Circuit
JTAG/HOSTb SCLK SDIN SDOUT CSb VDD_IO VDD_IO
10n 1V8_VPLL
10n 1V8_PCLK
10n
10n
GND_VPLL RESETb GENLOCKb
22R 22R
PCLK1 PCLK2 Controlled impedance 100-ohms differential
GENLOCK NC IO_VDD RESET CS_TMS SDOUT_TDO SDIN_TDI SCLK_TCLK JTAG/HOST PHS_GND PHS_VDD PCLK1&2_VDD PCLK1&2_GND PCLK1 IO_VDD PCLK2
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
LOCK_LOST REF_LOST
PCLK3 PCLK3b
1V8_PCLK 1V8_CORE 10n
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
1V8_VPLL 10n
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
VDD_IO
VDD_XTAL GND_VPLL
38pF
27MHz
1M 24pF 0R
10n
1V8_A GND_XTAL
GND_XTAL
10n
LOCK_LOST REF_LOST VID_PLL_VDD VID_PLL_GND XTAL_VDD X1 X2 XTAL_GND CORE_GND ANALOG_VDD NC ANALOG_GND ANALOG_GND ANALOG_GND 10FID HSYNC
GS4910B
LVDS/PCLK3_GND PCLK3 PCLK3 LVDS/PCLK3_VDD CORE_VDD TIMING_OUT8 TIMING_OUT7 TIMING_OUT6 TIMING_OUT5 TIMING_OUT4 IO_VDD TIMING_OUT3 TIMING_OUT2 TIMING_OUT1 ANALOG_GND ANALOG_GND
10n
10n
22R 22R 22R 22R 22R 22R 22R 22R
TIMING8 TIMING7 TIMING6 TIMING5 TIMING4 TIMING3 TIMING2 TIMING1
VSYNC IO_VDD FSYNC NC VID_STD0 VID_STD1 VID_STD2 VID_STD3 VID_STD4 CORE_VDD VID_STD5 NC NC NC IO_VDD ANALOG_GND
GND_A The 10FID input must be grounded if it will not be used 10FID HSYNC VSYNC FSYNC VDD_IO
65
GND_A
GND_PAD
1V8_CORE
10n
NOTE: The GS4910A inputs are 5V tolerant for 3V3 I/O operation only (IO_VDD=3V3) VID_STD0 VID_STD1 VID_STD2 VID_STD3 VID_STD4 VID_STD5
NOTE: For a solution with the lowest output jitter, the GS1531 or GS1532 serializers are recommended for use with the GS4911B/GS4910B.
36655 - 2
April 2006
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
GND_A
10n
10n
108 of 113
GS4911B/GS4910B Data Sheet
5. References & Relevant Standards
Table 5-1: References & Relevant Standards
AES11-1997 SMPTE 125M-1995 SMPTE 170M-1999 SMPTE 244M-1995 SMPTE 260M-1999 SMPTE 267M-1995 SMPTE 274M-1998 SMPTE 293M-1996 SMPTE 296M-1997 SMPTE 318M-1999 SMPTE 347M-2001 SMPTE RP 164-1996 SMPTE RP 168-1993 SMPTE RP 211-2000 ITU-R BT.601-5 ITU-R BT.709-4 Synchronization of Digital Audio Equipment in Studio Operations Component Video Signal 4:2:2 - Bit-Parallel Digital Interface Composite Analog Video Signal - NTSC for Studio Applications System M/NTSC Composite Video Signals - Bit-Parallel Digital Interface 1125/60 High-Definition Production System - Digital Representation and Bit-Parallel Interface Bit-Parallel Digital Interface - Component Video Signal 4:2:2 16x9 Aspect Ratio 1920 x 1080 Scanning and Analog and Parallel Digital Interfaces for Multiple Picture Rates 720 x 483 Active Line at 59.94-Hz Progressive Scan Production - Digital Representation 1280 x 720 Scanning, Analog and Digital Representation an Analog Interface Synchronization of 59.94- or 50-Hz Related Video and Audio Systems in Analog and Digital Areas - Reference Signals 540 Mb/s Serial Digital Interface - Source Image Format Mapping Location of Vertical Interval Time Code Definition of Vertical Interval Switching Point for Synchronous Video Switching Implementation of 24P, 25P and 30P Segmented Frames for 1920 x 1080 Production Format Studio Encoding Parameters of Digital Television for Standard 4:3 and Wide-screen 16:9 Aspect Ratios Parameter Values for the HDTV Standards for Production and International Program Exchange ITU-R BT.799.3 Interface for Digital Component Video Signals in 525-line and 625-line Television Systems Operating at the 4:4:4 Level of Recommendation ITU-R BT.601 (PART A) Studio Parameters of 625 and 525 Line Progressive Scan Television Systems VESA and industry Standards and Guidelines for Computer Display Monitor Timing - Version 1.0, Revision 0.8 (Adoption Date: September 17, 1998)
ITU-R BT.1358 VESA Monitor Timing Specifications
36655 - 2
April 2006
109 of 113
GS4911B/GS4910B Data Sheet
6. Package & Ordering Information
6.1 Package Dimensions
0.40+/-0.05
9.00 4.50
A B
7.10+/-0.15 3.55
4.50
9.00
PIN 1 AREA
CENTRE TAB
2X
0.15 C
4.50
2X
0.10 C
0.15 C
0.20 REF
+0.03 0.25-0.02 0.50
64X
C
CAB 0.10 C 0.05
64X
0.08 C
0.90 +/- 0.10 +0.03 0.02-0.02
SEATING PLANE
ALL DIMENSIONS IN MM
36655 - 2
April 2006
110 of 113
3.55
7.10+/-0.15
0.95+/-0.05
GS4911B/GS4910B Data Sheet
6.2 Recommended PCB Footprint
0.50 0.25
0.55
CENTER PAD 8.70 7.10
7.10 8.70
NOTE: All dimensions are in millimeters.
The center pad of the PCB footprint should be connected to the ground plane by a minimum of 36 vias. NOTE: Suggested dimensions only. Final dimensions should conform to customer design rules and process optimizations.
6.3 Packaging Data
Parameter
Package Type Moisture Sensitivity Level Junction to Case Thermal Resistance, j-c Junction to Air Thermal Resistance, j-a (at zero airflow) Psi, Pb-free and RoHS Compliant
Value
9mm x 9mm 64-pin QFN 3 9.3C/W 24.6C/W 0.2C/W Yes
36655 - 2
April 2006
111 of 113
GS4911B/GS4910B Data Sheet
6.4 Ordering Information
Part
GS4911B GS4910B
Video Clocks

Graphics Clocks

Audio Clocks
-
Full Programmability

Max PCLK Rate
165MHz 165MHz
Part Number
GS4911BCNE3 GS4910BCNE3
Package
Pb-free 64-pin QFN Pb-free 64-pin QFN
Temperature Range
0C to 70C 0C to 70C
36655 - 2
April 2006
112 of 113
GS4911B/GS4910B Data Sheet
7. Revision History
Version
0 1
ECR
138004 138866
PCN
- 37792
Date
November 2005 December 2005
Changes and/or Modifications
New document. Corrected phrasing regarding user-programmable outputs. Added note on V Blanking output width for VID_STD=4, 6, 8. Corrected ESD protection to 1 kV. Corrected description and formulas for loop bandwidth. Converted to Data Sheet. Clarified setting of VID_STD in Extended Audio Mode. Updated power consumption of GS4910B.
2
139291
38723
April 2006
CAUTION
ELECTROSTATIC SENSITIVE DEVICES DO NOT OPEN PACKAGES OR HANDLE EXCEPT AT A STATIC-FREE WORKSTATION DOCUMENT IDENTIFICATION
DATA SHEET
The product is in production. Gennum reserves the right to make changes to the product at any time without notice to improve reliability, function or design, in order to provide the best product possible.
GENNUM CORPORATION
Mailing Address: P.O. Box 489, Stn. A, Burlington, Ontario, Canada L7R 3Y3 Shipping Address: 970 Fraser Drive, Burlington, Ontario, Canada L7L 5P5 Tel. +1 (905) 632-2996 Fax. +1 (905) 632-5946
GENNUM JAPAN CORPORATION
Shinjuku Green Tower Building 27F, 6-14-1, Nishi Shinjuku, Shinjuku-ku, Tokyo, 160-0023 Japan Tel. +81 (03) 3349-5501, Fax. +81 (03) 3349-5505
GENNUM UK LIMITED
25 Long Garden Walk, Farnham, Surrey, England GU9 7HX Tel. +44 (0)1252 747 000 Fax +44 (0)1252 726 523 Gennum Corporation assumes no liability for any errors or omissions in this document, or for the use of the circuits or devices described herein. The sale of the circuit or device described herein does not imply any patent license, and Gennum makes no representation that the circuit or device is free from patent infringement. GENNUM and the G logo are registered trademarks of Gennum Corporation. (c) Copyright 2005 Gennum Corporation. All rights reserved. Printed in Canada. www.gennum.com
36655 - 2
April 2006 113
113 of 113


▲Up To Search▲   

 
Price & Availability of GS4911B

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X